Method |
Description |
|
complete ( Cartalyst\Sentinel\Users\UserInterface $user, string $code ) : boolean |
Completes the activation for the given user. |
|
completed ( Cartalyst\Sentinel\Users\UserInterface $user ) : Cartalyst\Sentinel\Activations\ActivationInterface | boolean |
Checks if a valid activation has been completed. |
|
create ( Cartalyst\Sentinel\Users\UserInterface $user ) : Cartalyst\Sentinel\Activations\ActivationInterface |
Create a new activation record and code. |
|
exists ( Cartalyst\Sentinel\Users\UserInterface $user, string $code = null ) : Cartalyst\Sentinel\Activations\ActivationInterface | boolean |
Checks if a valid activation for the given user exists. |
|
remove ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean | null |
Remove an existing activation (deactivate). |
|
removeExpired ( ) : integer |
Remove expired activation codes. |
|