GuardContract
abstract class GuardContract (View source)
Properties
protected string | $guard | The define guard |
Methods
bool
check()
Check if user is authenticate
bool
guest()
Check if user is guest
bool
logout()
Logout
Authenticate
user()
Get authenticated user
bool
attempts(array $credentials)
Check if user is authenticate
guard(string $guard = null)
Load the a guard
Token
getToken()
No description
Details
abstract bool
check()
Check if user is authenticate
abstract bool
guest()
Check if user is guest
abstract bool
logout()
Logout
abstract Authenticate
user()
Get authenticated user
abstract bool
attempts(array $credentials)
Check if user is authenticate
GuardContract
guard(string $guard = null)
Load the a guard
Token
getToken()
No description