Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • Ads
  • AuthAbstract
  • Factory
  • Ldap
  • Provisioning
  • Xoops
  • Overview
  • Namespace
  • Class
  • Tree

Class AuthAbstract

Authentication class for Native XOOPS

Direct known subclasses

Xoops\Auth\Ldap, Xoops\Auth\Xoops

Indirect known subclasses

Xoops\Auth\Ads
Abstract
Namespace: Xoops\Auth
Package: Auth
Category: Xoops
Copyright: 2000-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Pierre-Eric MENUET pemphp@free.fr
Since: 2.0
Link: http://xoops.org
Located at oops_lib/Xoops/Auth/AuthAbstract.php
Methods summary
public
# __construct( Xoops\Core\Database\Connection|null $dao )

Authentication Service constructor

Authentication Service constructor

Parameters

$dao
database
abstract public boolean
# authenticate( string $uname, string|null $pwd = null )

authenticate a user

authenticate a user

Parameters

$uname
user name
$pwd
password

Returns

boolean
true if authenticated, otherwise fales
public
# setErrors( integer $err_no, string $err_str )

setErrors

setErrors

Parameters

$err_no
error number
$err_str
error message
public array
# getErrors( )

return the errors for this object as an array

return the errors for this object as an array

Returns

array
an array of errors
public string
# getHtmlErrors( )

return the errors for this object as html

return the errors for this object as html

Returns

string
html listing the errors
Properties summary
protected use $dao

Xoops\Core\Database\Connection|null

Xoops\Core\Database\Connection|null

#
protected array $errors
#
protected string $auth_method
#
API documentation generated by ApiGen