LSUserIdentity

Extends\CUserIdentity

For 2.06 most of the functionality in this class will be moved to the LSWebUser class.

To not delay release of 2.05 this class was kept the way it is now.

@@TODO Move to LSWebUser and change documentation / workflow for authentication plugins

package

Default

Methods

authenticate

authenticate()

getConfig

getConfig()

Returns the current user's ID

getId(): integer
access

public

Response

integer

Returns the active user's record

getUser(): \User
access

public

Response

\User

postLogin

postLogin()

setConfig

setConfig( $config)

Arguments

$config

setPlugin

setPlugin( $name)

Arguments

$name

Constants

ERROR_IP_LOCKED_OUT

ERROR_IP_LOCKED_OUT

ERROR_UNKNOWN_HANDLER

ERROR_UNKNOWN_HANDLER

Properties

config

config :

Type(s)

The userid

id :integer
var

Type(s)

integer

A User::model() object

user :\User
var

Type(s)

\User

This is the name of the plugin to handle authentication default handler is used for remote control

plugin :string
var

Type(s)

string