PHP Class Cartalyst\Sentinel\Native\SentinelBootstrapper

Afficher le fichier Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Свойство Type Description
$config array Configuration.
$dispatcher Illuminate\Events\Dispatcher The event dispatcher.

Méthodes publiques

Méthode Description
__construct ( array $config = null ) : void Constructor.
createSentinel ( ) : Sentinel Creates a sentinel instance.

Méthodes protégées

Méthode Description
createActivationCheckpoint ( IlluminateActivationRepository $activations ) : ActivationCheckpoint Create an activation checkpoint.
createActivations ( ) : IlluminateActivationRepository Creates an activation repository.
createCheckpoints ( IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, string $ipAddress ) : array Create activation and throttling checkpoints.
createCookie ( ) : NativeCookie Creates a cookie.
createHasher ( ) : NativeHasher Creates a hasher.
createPersistence ( ) : IlluminatePersistenceRepository Creates a persistences repository.
createReminders ( IlluminateUserRepository $users ) : IlluminateReminderRepository Create a reminder repository.
createRoles ( ) : IlluminateRoleRepository Creates a role repository.
createSession ( ) : NativeSession Creates a session.
createThrottleCheckpoint ( IlluminateThrottleRepository $throtte, string $ipAddress ) : ThrottleCheckpoint Create a throttle checkpoint.
createThrottling ( ) : IlluminateThrottleRepository Create a throttling repository.
createUsers ( ) : IlluminateUserRepository Creates a user repository.
getEventDispatcher ( ) : Illuminate\Events\Dispatcher Returns the event dispatcher.
getIpAddress ( ) : string Returns the client's ip address.

Method Details

__construct() public méthode

Constructor.
public __construct ( array $config = null ) : void
$config array
Résultat void

createActivationCheckpoint() protected méthode

Create an activation checkpoint.
protected createActivationCheckpoint ( IlluminateActivationRepository $activations ) : ActivationCheckpoint
$activations Cartalyst\Sentinel\Activations\IlluminateActivationRepository
Résultat Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

createActivations() protected méthode

Creates an activation repository.
protected createActivations ( ) : IlluminateActivationRepository
Résultat Cartalyst\Sentinel\Activations\IlluminateActivationRepository

createCheckpoints() protected méthode

Create activation and throttling checkpoints.
protected createCheckpoints ( IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, string $ipAddress ) : array
$activations Cartalyst\Sentinel\Activations\IlluminateActivationRepository
$throttle Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository
$ipAddress string
Résultat array

createCookie() protected méthode

Creates a cookie.
protected createCookie ( ) : NativeCookie
Résultat Cartalyst\Sentinel\Cookies\NativeCookie

createHasher() protected méthode

Creates a hasher.
protected createHasher ( ) : NativeHasher
Résultat Cartalyst\Sentinel\Hashing\NativeHasher

createPersistence() protected méthode

Creates a persistences repository.
protected createPersistence ( ) : IlluminatePersistenceRepository
Résultat Cartalyst\Sentinel\Persistences\IlluminatePersistenceRepository

createReminders() protected méthode

Create a reminder repository.
protected createReminders ( IlluminateUserRepository $users ) : IlluminateReminderRepository
$users Cartalyst\Sentinel\Users\IlluminateUserRepository
Résultat Cartalyst\Sentinel\Reminders\IlluminateReminderRepository

createRoles() protected méthode

Creates a role repository.
protected createRoles ( ) : IlluminateRoleRepository
Résultat Cartalyst\Sentinel\Roles\IlluminateRoleRepository

createSentinel() public méthode

Creates a sentinel instance.
public createSentinel ( ) : Sentinel
Résultat Cartalyst\Sentinel\Sentinel

createSession() protected méthode

Creates a session.
protected createSession ( ) : NativeSession
Résultat Cartalyst\Sentinel\Sessions\NativeSession

createThrottleCheckpoint() protected méthode

Create a throttle checkpoint.
protected createThrottleCheckpoint ( IlluminateThrottleRepository $throtte, string $ipAddress ) : ThrottleCheckpoint
$throtte Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository
$ipAddress string
Résultat Cartalyst\Sentinel\Checkpoints\ThrottleCheckpoint

createThrottling() protected méthode

Create a throttling repository.
protected createThrottling ( ) : IlluminateThrottleRepository
Résultat Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository

createUsers() protected méthode

Creates a user repository.
protected createUsers ( ) : IlluminateUserRepository
Résultat Cartalyst\Sentinel\Users\IlluminateUserRepository

getEventDispatcher() protected méthode

Returns the event dispatcher.
protected getEventDispatcher ( ) : Illuminate\Events\Dispatcher
Résultat Illuminate\Events\Dispatcher

getIpAddress() protected méthode

Returns the client's ip address.
protected getIpAddress ( ) : string
Résultat string

Property Details

$config protected_oe property

Configuration.
protected array $config
Résultat array

$dispatcher protected_oe property

The event dispatcher.
protected Dispatcher,Illuminate\Events $dispatcher
Résultat Illuminate\Events\Dispatcher