Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cAuth
  • cAuthHandlerAbstract
  • cAuthHandlerBackend
  • cAuthHandlerFrontend
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cAuthHandlerBackend

This class contains the methods for the backend authentication in CONTENIDO.

cAuth
Extended by cAuthHandlerAbstract
Extended by 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
Methods summary
public
# __construct( )

Constructor of the backend auth handler. Automatically sets the lifetime of the authentication to the configured value.

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.

Handle the pre authorization. Let return this method a valid user ID to set before the login form is handled, otherwise false.

Returns

string
false
public
# displayLoginForm( )

Display the login form. Let this method include a file which displays the login form.

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.

Validate the credentials. Let this method validate the users input against source and return a valid user ID or false.

Returns

string
false
public
# logSuccessfulAuth( )

Log the successful authentication. If wished, this method can be executed for logging an successful authentication.

Log the successful authentication. If wished, this method can be executed for logging an successful authentication.

public boolean
# isLoggedIn( )

Returns true if a user is logged in

Returns true if a user is logged in

Returns

boolean
Methods inherited from cAuth
__get(), _fetchLoginForm(), _setAuthInfo(), _setExpiration(), getAuthInfo(), getPerms(), getUserId(), getUsername(), isAuthenticated(), isLoginForm(), logout(), resetAuthInfo(), restart(), start()
Constants inherited from cAuth
AUTH_UID_FORM, AUTH_UID_NOBODY
Properties inherited from cAuth
$_defaultNobody, $_lifetime, $auth
CMS CONTENIDO 4.9.5 API documentation generated by ApiGen 2.8.0