class Auth

Properties

static array $drivers Berisi driver auth yang saat ini sedang digunakan.
static array $registrar Berisi registrar driver pihak ketiga.

Methods

static Driver
driver(string $driver = null)

Ambil instance auth driver.

static Driver
factory(string $driver)

Buat instance driver auth.

static 
extend(string $driver, Closure $resolver)

Daftarkan auth driver pihak ketiga (Betul! auth driver di framework ini extedable!).

static mixed
__callStatic(string $method, array $parameters)

Magic Method untuk pemanggilan method pada driver auth default.

Details

at line 30
static Driver driver(string $driver = null)

Ambil instance auth driver.

Parameters

string $driver

Return Value

Driver

at line 49
static protected Driver factory(string $driver)

Buat instance driver auth.

Parameters

string $driver

Return Value

Driver

at line 70
static extend(string $driver, Closure $resolver)

Daftarkan auth driver pihak ketiga (Betul! auth driver di framework ini extedable!).

Parameters

string $driver
Closure $resolver

at line 93
static mixed __callStatic(string $method, array $parameters)

Magic Method untuk pemanggilan method pada driver auth default.

 // Panggil method user() milik driver default.
 $user = Auth::user();

 // Panggil method check() milik driver default.
 Auth::check();

Parameters

string $method
array $parameters

Return Value

mixed