Method |
Description |
|
check ( ) : string |
Checks for a persistence code in the current session. |
|
findByPersistenceCode ( string $code ) : Cartalyst\Sentinel\Persistences\PersistenceInterface | false |
Finds a persistence by persistence code. |
|
findUserByPersistenceCode ( string $code ) : Cartalyst\Sentinel\Users\UserInterface | false |
Finds a user by persistence code. |
|
flush ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, boolean $forget = true ) : void |
Flushes persistences for the given user. |
|
forget ( ) : boolean | null |
Removes the persistence bound to the current session. |
|
persist ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable, boolean $remember = false ) : boolean |
Adds a new user persistence to the current session and attaches the user. |
|
persistAndRemember ( Cartalyst\Sentinel\Persistences\PersistableInterface $persistable ) : boolean |
Adds a new user persistence, to remember. |
|
remove ( string $code ) : boolean | null |
Removes the given persistence code. |
|