PHP 인터페이스 Cartalyst\Sentinel\Checkpoints\CheckpointInterface

파일 보기 프로젝트 열기: cartalyst/sentinel

공개 메소드들

메소드 설명
check ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean Checkpoint for when a user is currently stored in the session.
fail ( Cartalyst\Sentinel\Users\UserInterface $user = null ) : void Checkpoint for when a failed login attempt is logged. User is not always passed and the result of the method will not affect anything, as the login failed.
login ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean Checkpoint after a user is logged in. Return false to deny persistence.

메소드 상세

check() 공개 메소드

Checkpoint for when a user is currently stored in the session.
public check ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
리턴 boolean

fail() 공개 메소드

Checkpoint for when a failed login attempt is logged. User is not always passed and the result of the method will not affect anything, as the login failed.
public fail ( Cartalyst\Sentinel\Users\UserInterface $user = null ) : void
$user Cartalyst\Sentinel\Users\UserInterface
리턴 void

login() 공개 메소드

Checkpoint after a user is logged in. Return false to deny persistence.
public login ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
리턴 boolean