Interface IUserIdentity
IUserIdentity interface is implemented by a user identity class.
An identity represents a way to authenticate a user and retrieve information needed to uniquely identity the user. It is normally used with the CWebApplication::user user application component.
Direct known implementers
CBaseUserIdentity
Package: system\base
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/interfaces.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/interfaces.php
public
boolean
|
#
authenticate( )
Authenticates the user. The information needed to authenticate the user are usually provided in the constructor. |
public
boolean
|
|
public
mixed
|
|
public
string
|
|
public
array
|
#
getPersistentStates( )
Returns the additional identity information that needs to be persistent during the user session. |