Свойство | Тип | Описание | |
---|---|---|---|
$components | array | Components |
Свойство | Тип | Описание | |
---|---|---|---|
$_cookieName | string | Name of the cookie |
Метод | Описание | |
---|---|---|
beforeFilter ( Cake\Event\Event $event ) : mixed | Reads the stored cookie and auto login the user if present | |
destroy ( Cake\Event\Event $event ) : void | Destroys the remember me cookie | |
initialize ( array $config ) : void | Initialize config data and properties. | |
setCookieOptions ( ) : void | Sets cookie configuration options | |
setLoginCookie ( Cake\Event\Event $event ) : void | Sets the login cookie that handles the remember me feature |
Метод | Описание | |
---|---|---|
_attachEvents ( ) : void | Attach the afterLogin and beforeLogount events | |
_validateConfig ( ) : void | Validate component config |
protected _attachEvents ( ) : void | ||
Результат | void |
protected _validateConfig ( ) : void | ||
Результат | void |
public beforeFilter ( Cake\Event\Event $event ) : mixed | ||
$event | Cake\Event\Event | event |
Результат | mixed |
public initialize ( array $config ) : void | ||
$config | array | The config data. |
Результат | void |
public setCookieOptions ( ) : void | ||
Результат | void |
public setLoginCookie ( Cake\Event\Event $event ) : void | ||
$event | Cake\Event\Event | event |
Результат | void |