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 cAuthHandlerAbstract

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

cAuth
Extended by cAuthHandlerAbstract

Direct known subclasses

cAuthHandlerBackend, cAuthHandlerFrontend
Abstract
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.abstract.php
Methods summary
abstract 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
abstract 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.

abstract 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
abstract 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.

abstract 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