프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$auth |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | boolean | mixed |
public isAuthenticated ( ) : boolean | ||
리턴 | boolean |