PHP 클래스 Chrisbjr\ApiGuard\Providers\Auth\Sentinel

상속: implements Chrisbjr\ApiGuard\Contracts\Providers\Auth
파일 보기 프로젝트 열기: chrisbjr/api-guard

보호된 프로퍼티들

프로퍼티 타입 설명
$sentinel Cartalyst\Sentinel\Sentinel

공개 메소드들

메소드 설명
__construct ( Sentinel $sentinel )
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.

메소드 상세

__construct() 공개 메소드

public __construct ( Sentinel $sentinel )
$sentinel Cartalyst\Sentinel\Sentinel

byCredentials() 공개 메소드

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

byId() 공개 메소드

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

user() 공개 메소드

Get the currently authenticated user.
public user ( ) : Cartalyst\Sentinel\Users\UserInterface
리턴 Cartalyst\Sentinel\Users\UserInterface

프로퍼티 상세

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

protected Sentinel,Cartalyst\Sentinel $sentinel
리턴 Cartalyst\Sentinel\Sentinel