Authentication control component class (baserCMS拡張)

Binds access control with user authentication and session management.
package Baser.Controller.Component

 Methods

個体識別IDを削除する

deleteSerial() : boolean

Returns

boolean

個体識別IDを取得

getSerial() : string

Returns

string

Logs a user out, and returns the login action to redirect to.

logout() : string
Triggers the logout() method of all the authenticate objects, so they can perform custom logout logic. AuthComponent will remove the session data, so there is no need to do that in an authentication object. Logging out will also renew the session id. This helps mitigate issues with session replays.
see
link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#logging-users-out

Returns

stringAuthComponent::$logoutRedirect

再ログインを実行する

relogin() 
return boolean

個体識別IDを保存する

saveSerial() : boolean

Returns

boolean

セッションキーをセットする

setSessionKey(string $sessionKey) 

Parameters

$sessionKey

string

 Properties

 

個体識別ID

$serial : string

Default

''