\AuthController

認証Controller

Add your application-wide methods in the class below, your controllers will inherit them.

Summary

Methods
Properties
Constants
beforeFilter()
index()
login()
logout()
$components
$uses
$Auth
$Session
$ForgotPass
$NetCommons
$User
No constants found
_getAuthenticator()
_getAuthenticators()
_getDefaultStartPage()
_setNc2Authenticate()
No protected properties found
N/A
__setDefaultAuthenticator()
No private properties found
N/A

Properties

$components

$components : array

使用するComponents

Type

array

$Auth

$Auth : \AuthComponent

Type

\AuthComponent

$Session

$Session : \SessionComponent

Type

\SessionComponent

$ForgotPass

$ForgotPass : \ForgotPass

Type

\ForgotPass

$NetCommons

$NetCommons : \NetCommonsComponent

Type

\NetCommonsComponent

$User

$User : \User

Type

\User

Methods

beforeFilter()

beforeFilter() : void

beforeFilter

index()

index() : void

index

login()

login() : void

ログイン処理

Throws

\InternalErrorException

logout()

logout() : void

logout

_getAuthenticator()

_getAuthenticator() : string

Return authentication adapter name

Returns

string —

Authentication adapter name

_getAuthenticators()

_getAuthenticators() : array

Return available authenticators

Returns

array —

authenticators

_getDefaultStartPage()

_getDefaultStartPage() : string

デフォルト開始ページの取得

Returns

string —

or null

_setNc2Authenticate()

_setNc2Authenticate() : void

Set nc2 authenticator

__setDefaultAuthenticator()

__setDefaultAuthenticator() : void

Set authenticator