Property | Type | Description | |
---|---|---|---|
$components | array | Components |
Property | Type | Description | |
---|---|---|---|
$_cookieName | string | Name of the cookie |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
_attachEvents ( ) : void | Attach the afterLogin and beforeLogount events | |
_validateConfig ( ) : void | Validate component config |
protected _attachEvents ( ) : void | ||
return | void |
protected _validateConfig ( ) : void | ||
return | void |
public beforeFilter ( Cake\Event\Event $event ) : mixed | ||
$event | Cake\Event\Event | event |
return | mixed |
public initialize ( array $config ) : void | ||
$config | array | The config data. |
return | void |
public setCookieOptions ( ) : void | ||
return | void |
public setLoginCookie ( Cake\Event\Event $event ) : void | ||
$event | Cake\Event\Event | event |
return | void |