SessionGuard
classe SessionGuard étends GuardContract (Voir la source)
Traits
Propriétés
protected string | $guard | The define guard |
depuis GuardContract |
Méthodes
bool
check()
Check if user is authenticate
bool
guest()
Check if user is guest
bool
logout()
Make direct logout
Authenticate
user()
Check if user is authenticate
bool
attempts(array $credentials)
Check if user is authenticate
__construct(array $provider, string $guard = null)
SessionGuard constructor.
bool
bool
id()
Get the user id
Détails
bool
check()
Check if user is authenticate
bool
guest()
Check if user is guest
bool
logout()
Make direct logout
Authenticate
user()
Check if user is authenticate
bool
attempts(array $credentials)
Check if user is authenticate
GuardContract
guard(string $guard = null)
Load the a guard
Token
getToken()
Pas de description
__construct(array $provider, string $guard = null)
SessionGuard constructor.
bool
login(Authentication $user)
Make direct login
bool
id()
Get the user id