class Auth (View source)

Methods

static GuardContract
configure(array $config)

Configure Auth system

static GuardContract|null
getInstance()

Get Auth Instance

static GuardContract
guard(string|null $guard = null)

Check if user is authenticate

static GuardContract
__callStatic(string $method, array $params)

__callStatic

Details

static GuardContract configure(array $config)

Configure Auth system

Parameters

array $config

Return Value

GuardContract

static GuardContract|null getInstance()

Get Auth Instance

Return Value

GuardContract|null

static GuardContract guard(string|null $guard = null)

Check if user is authenticate

Parameters

string|null $guard

Return Value

GuardContract

Exceptions

AuthenticationException

static GuardContract __callStatic(string $method, array $params)

__callStatic

Parameters

string $method
array $params

Return Value

GuardContract