$user : mixed
The user currently being managed by the driver.
$token : string|null
The current value of the user's token.
__construct() : void
Create a new login auth driver instance.
guest() : boolean
Determine if the user of the application is not logged in.
This method is the inverse of the "check" method.
check() : boolean
Determine if the user is logged in.
user() : mixed|null
Get the current user of the application.
If the user is a guest, null should be returned.
retrieve(integer $id) : mixed
Get the given application user by ID.
attempt(array $arguments = array()) : void
Attempt to log a user into the application.
login(string $token, boolean $remember = false) : boolean
Login the user assigned to the given token.
The token is typically a numeric ID for the user.
logout() : void
Log the user out of the driver's auth context.
store(string $token) : void
Store a user's token in the session.
remember(string $token) : void
Store a user's token in a long-lived cookie.
recall() : string|null
Attempt to find a "remember me" cookie for the user.
cookie(string $name, string $value, integer $minutes) : void
Store an authentication cookie.
token() : string
Get the session key name used to store the token.
recaller() : string
Get the name used for the "remember me" cookie.
name() : string
Get the name of the driver in a storage friendly format.
Fetching…
Documentation created by phpDocumentor