Class cAuth
This class contains functions for global authentication in CONTENIDO.
Direct known subclasses
cAuthHandlerAbstract
Package: Core\Authentication
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/auth/class.auth.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/auth/class.auth.php
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
|
#
_setExpiration( integer $expiration = NULL )
Sets or refreshs the expiration of the authentication. |
protected
|
|
protected
|
#
_setAuthInfo( string $userId, integer $expiration = NULL )
Sets the authentication info for a user. |
string |
AUTH_UID_NOBODY
|
'nobody' |
#
Authentification user ID for nobody. |
string |
AUTH_UID_FORM
|
'form' |
#
Authentification user ID for calling login form. |
public
array
|
$auth | array() |
#
The global auth information array. |
protected
integer
|
$_lifetime | 15 |
#
Lifetime for authenticated users in minutes. After that time the authentication expires. |
protected
boolean
|
$_defaultNobody | false |
#
Automatic authentication as nobody. |
private
boolean
|
$_in | false |
#
The "in flag". Nobody knows, for which reason it exists. |