class Auth (View source)

Methods

static GuardContract
configure(array $config)

Configure Auth system

static GuardContract
getInstance()

Get Auth Instance

static GuardContract
guard(null|string $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 getInstance()

Get Auth Instance

Return Value

GuardContract

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

Check if user is authenticate

Parameters

null|string $guard

Return Value

GuardContract

Exceptions

AuthenticationException

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

__callStatic

Parameters

string $method
array $params

Return Value

GuardContract