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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cAuth
  • cAuthHandlerAbstract
  • cAuthHandlerBackend
  • cAuthHandlerFrontend
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cAuthHandlerFrontend

This class contains the methods for the frontend authentication in 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( )
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 summary
protected boolean $_defaultNobody

Automatic authentication as nobody.

Automatic authentication as nobody.

# true
Properties inherited from cAuth
$_lifetime, $auth
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen