Class cAuthHandlerBackend
This class contains the methods for the backend authentication in CONTENIDO.
- cAuth
- cAuthHandlerAbstract
- cAuthHandlerBackend
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.handler.backend.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.handler.backend.php
public
|
#
__construct( )
Constructor of the backend auth handler. Automatically sets the lifetime of the authentication to the configured value. |
public
string
|
#
preAuthorize( )
Handle the pre authorization. Let return this method a valid user ID to set before the login form is handled, otherwise false. |
public
|
#
displayLoginForm( )
Display the login form. Let this method include a file which displays the login form. |
public
string
|
#
validateCredentials( )
Validate the credentials. Let this method validate the users input against source and return a valid user ID or false. |
public
|
#
logSuccessfulAuth( )
Log the successful authentication. If wished, this method can be executed for logging an successful authentication. |
__get(),
_fetchLoginForm(),
_setAuthInfo(),
_setExpiration(),
getAuthInfo(),
isAuthenticated(),
isLoginForm(),
logout(),
resetAuthInfo(),
restart(),
start()
|
AUTH_UID_FORM,
AUTH_UID_NOBODY
|
$_defaultNobody,
$_lifetime,
$auth
|