PHP Интерфейс Cartalyst\Sentinel\Checkpoints\CheckpointInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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