Property | Type | Description | |
---|---|---|---|
$auth |
Method | Description | |
---|---|---|
__construct ( Chrisbjr\ApiGuard\Contracts\Providers\Auth $auth ) | ||
authenticate ( |
Authenticate a user via the API key. | |
getUser ( ) | Get the authenticated user. | |
isAuthenticated ( ) : boolean | Determines if we have an authenticated user |
public __construct ( Chrisbjr\ApiGuard\Contracts\Providers\Auth $auth ) | ||
$auth | Chrisbjr\ApiGuard\Contracts\Providers\Auth |
public authenticate ( |
||
$apiKey | ||
return | boolean | mixed |
public isAuthenticated ( ) : boolean | ||
return | boolean |