PHP 클래스 Chrisbjr\ApiGuard\ApiGuardAuth

파일 보기 프로젝트 열기: chrisbjr/api-guard

보호된 프로퍼티들

프로퍼티 타입 설명
$auth

공개 메소드들

메소드 설명
__construct ( Chrisbjr\ApiGuard\Contracts\Providers\Auth $auth )
authenticate ( ApiKeyRepository $apiKey ) : boolean | mixed Authenticate a user via the API key.
getUser ( ) Get the authenticated user.
isAuthenticated ( ) : boolean Determines if we have an authenticated user

메소드 상세

__construct() 공개 메소드

public __construct ( Chrisbjr\ApiGuard\Contracts\Providers\Auth $auth )
$auth Chrisbjr\ApiGuard\Contracts\Providers\Auth

authenticate() 공개 메소드

Authenticate a user via the API key.
public authenticate ( ApiKeyRepository $apiKey ) : boolean | mixed
$apiKey Chrisbjr\ApiGuard\Repositories\ApiKeyRepository
리턴 boolean | mixed

getUser() 공개 메소드

Get the authenticated user.
public getUser ( )

isAuthenticated() 공개 메소드

Determines if we have an authenticated user
public isAuthenticated ( ) : boolean
리턴 boolean

프로퍼티 상세

$auth 보호되어 있는 프로퍼티

protected $auth