Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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 cAuthHandlerFrontend

This class is the frontend authentication handler for CONTENIDO.

cAuth
Extended by cAuthHandlerAbstract
Extended by cAuthHandlerFrontend
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.frontend.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|false
# preAuthorize( )

Handle the pre authorization. Returns a valid user ID to be set before the login form is handled, otherwise false.

Handle the pre authorization. Returns a valid user ID to be set before the login form is handled, otherwise false.

Returns

string|false

See

cAuthHandlerAbstract::preAuthorize()
public
# displayLoginForm( )

Display the login form. Includes a file which displays the login form.

Display the login form. Includes a file which displays the login form.

See

cAuthHandlerAbstract::displayLoginForm()
public string|false
# validateCredentials( )

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

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

Returns

string|false

See

cAuthHandlerAbstract::validateCredentials()
public
# logSuccessfulAuth( )

Log the successful authentication. Frontend logins won't be logged.

Log the successful authentication. Frontend logins won't be logged.

See

cAuthHandlerAbstract::logSuccessfulAuth()
public boolean
# isLoggedIn( )

Returns true if a user is logged in.

Returns true if a user is logged in.

Returns

boolean

See

cAuthHandlerAbstract::isLoggedIn()
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 summary
protected boolean $_defaultNobody true
#
Properties inherited from cAuth
$_lifetime, $auth
CMS CONTENIDO 4.9.8 API documentation generated by ApiGen 2.8.0