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

Methods

authenticate

authenticate() 

getConfig

getConfig() 

Returns the current user's ID

getId() : int
access

public

Response

int

Returns the active user's record

getUser() : \User
access

public

Response

\User

postLogin

postLogin() 

setPlugin

setPlugin($name) 

Arguments

$name

setConfig

setConfig($config) 

Arguments

$config

Constants

ERROR_IP_LOCKED_OUT

ERROR_IP_LOCKED_OUT

ERROR_UNKNOWN_HANDLER

ERROR_UNKNOWN_HANDLER

Properties

config

config : 

The userid

id : int
var

Type(s)

int

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