PHP 클래스 Cartalyst\Sentinel\Native\SentinelBootstrapper

파일 보기 프로젝트 열기: cartalyst/sentinel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array Configuration.
$dispatcher Illuminate\Events\Dispatcher The event dispatcher.

공개 메소드들

메소드 설명
__construct ( array $config = null ) : void Constructor.
createSentinel ( ) : Sentinel Creates a sentinel instance.

보호된 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $config = null ) : void
$config array
리턴 void

createActivationCheckpoint() 보호된 메소드

Create an activation checkpoint.
protected createActivationCheckpoint ( IlluminateActivationRepository $activations ) : ActivationCheckpoint
$activations Cartalyst\Sentinel\Activations\IlluminateActivationRepository
리턴 Cartalyst\Sentinel\Checkpoints\ActivationCheckpoint

createActivations() 보호된 메소드

Creates an activation repository.
protected createActivations ( ) : IlluminateActivationRepository
리턴 Cartalyst\Sentinel\Activations\IlluminateActivationRepository

createCheckpoints() 보호된 메소드

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
리턴 array

createCookie() 보호된 메소드

Creates a cookie.
protected createCookie ( ) : NativeCookie
리턴 Cartalyst\Sentinel\Cookies\NativeCookie

createHasher() 보호된 메소드

Creates a hasher.
protected createHasher ( ) : NativeHasher
리턴 Cartalyst\Sentinel\Hashing\NativeHasher

createPersistence() 보호된 메소드

Creates a persistences repository.
protected createPersistence ( ) : IlluminatePersistenceRepository
리턴 Cartalyst\Sentinel\Persistences\IlluminatePersistenceRepository

createReminders() 보호된 메소드

Create a reminder repository.
protected createReminders ( IlluminateUserRepository $users ) : IlluminateReminderRepository
$users Cartalyst\Sentinel\Users\IlluminateUserRepository
리턴 Cartalyst\Sentinel\Reminders\IlluminateReminderRepository

createRoles() 보호된 메소드

Creates a role repository.
protected createRoles ( ) : IlluminateRoleRepository
리턴 Cartalyst\Sentinel\Roles\IlluminateRoleRepository

createSentinel() 공개 메소드

Creates a sentinel instance.
public createSentinel ( ) : Sentinel
리턴 Cartalyst\Sentinel\Sentinel

createSession() 보호된 메소드

Creates a session.
protected createSession ( ) : NativeSession
리턴 Cartalyst\Sentinel\Sessions\NativeSession

createThrottleCheckpoint() 보호된 메소드

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

createThrottling() 보호된 메소드

Create a throttling repository.
protected createThrottling ( ) : IlluminateThrottleRepository
리턴 Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository

createUsers() 보호된 메소드

Creates a user repository.
protected createUsers ( ) : IlluminateUserRepository
리턴 Cartalyst\Sentinel\Users\IlluminateUserRepository

getEventDispatcher() 보호된 메소드

Returns the event dispatcher.
protected getEventDispatcher ( ) : Illuminate\Events\Dispatcher
리턴 Illuminate\Events\Dispatcher

getIpAddress() 보호된 메소드

Returns the client's ip address.
protected getIpAddress ( ) : string
리턴 string

프로퍼티 상세

$config 보호되어 있는 프로퍼티

Configuration.
protected array $config
리턴 array

$dispatcher 보호되어 있는 프로퍼티

The event dispatcher.
protected Dispatcher,Illuminate\Events $dispatcher
리턴 Illuminate\Events\Dispatcher