Property | Type | Description | |
---|---|---|---|
$sentinel |
Method | Description | |
---|---|---|
__construct ( |
||
byCredentials ( array $credentials ) : mixed | Check a user's credentials. | |
byId ( mixed $id ) : boolean | Authenticate a user via the id. | |
user ( ) : Cartalyst\Sentinel\Users\UserInterface | Get the currently authenticated user. |
public __construct ( |
||
$sentinel |
public byCredentials ( array $credentials ) : mixed | ||
$credentials | array | |
return | mixed |
public user ( ) : Cartalyst\Sentinel\Users\UserInterface | ||
return | Cartalyst\Sentinel\Users\UserInterface |