PHP 인터페이스 Chrisbjr\ApiGuard\Contracts\Providers\Auth

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

공개 메소드들

메소드 설명
byCredentials ( array $credentials ) : boolean Check a user's credentials
byId ( mixed $id ) : boolean Authenticate a user via the id
user ( ) : mixed Get the currently authenticated user

메소드 상세

byCredentials() 공개 메소드

Check a user's credentials
public byCredentials ( array $credentials ) : boolean
$credentials array
리턴 boolean

byId() 공개 메소드

Authenticate a user via the id
public byId ( mixed $id ) : boolean
$id mixed
리턴 boolean

user() 공개 메소드

Get the currently authenticated user
public user ( ) : mixed
리턴 mixed