Class User
Core model - reading 'db' section from system config.ini - database PDO connecting by config settings and index - instance loaded variables initializing - instance initialized values reading - virtual calls/sets and gets handling
- MvcCore\Model
-
MvcCore\Ext\Auth\Virtual\User
-
MvcCore\Ext\Auth\User
public static
|
#
GetUserBySession( )
Try to get user model instance from any place by session username record if there is any or return null. |
public static
|
#
Authenticate( string $uniqueUserName = '', string $password = '' )
Get user instance if the username exists and hashed password is the same |
public static
|
|
public static
|
|
protected static
|
#
getSession( )
Get session to get/set/clear username, is session is not started - start the session. |
GetPasswordHash()
|
GetCfg(),
GetDb(),
GetInstance(),
GetResource(),
GetValues(),
Init(),
SetUp(),
__call(),
__construct(),
__get(),
__set(),
loadConfigs()
|
protected
boolean
|
$autoInit
|
#
FALSE
|
protected static
|
$session
|
#
NULL
|
$FullName,
$Id,
$PasswordHash,
$UserName
|
$cfg,
$configs,
$connectionArguments,
$connectionIndex,
$connections,
$db,
$instances,
$resource
|