PHP Class Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

Inheritance: implements Cartalyst\Sentinel\Checkpoints\CheckpointInterface, use trait AuthenticatedCheckpoint
Datei anzeigen Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Property Type Description
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface The activation repository.

Public Methods

Method Description
__construct ( Cartalyst\Sentinel\Activations\ActivationRepositoryInterface $activations ) : void Create a new activation checkpoint.
check ( Cartalyst\Sentinel\Users\UserInterface $user ) {@inheritDoc}
login ( Cartalyst\Sentinel\Users\UserInterface $user ) {@inheritDoc}

Protected Methods

Method Description
checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean Checks the activation status of the given user.

Method Details

__construct() public method

Create a new activation checkpoint.
public __construct ( Cartalyst\Sentinel\Activations\ActivationRepositoryInterface $activations ) : void
$activations Cartalyst\Sentinel\Activations\ActivationRepositoryInterface
return void

check() public method

{@inheritDoc}
public check ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface

checkActivation() protected method

Checks the activation status of the given user.
protected checkActivation ( Cartalyst\Sentinel\Users\UserInterface $user ) : boolean
$user Cartalyst\Sentinel\Users\UserInterface
return boolean

login() public method

{@inheritDoc}
public login ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface

Property Details

$activations protected_oe property

The activation repository.
protected ActivationRepositoryInterface,Cartalyst\Sentinel\Activations $activations
return Cartalyst\Sentinel\Activations\ActivationRepositoryInterface