[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/auth/provider/ -> ldap.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 348 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ldap:: (7 methods):
  __construct()
  init()
  login()
  acp()
  get_acp_template()
  ldap_user_filter()
  ldap_escape()


Class: ldap  - X-Ref

Database authentication provider for phpBB3
This is for authentication via the integrated user table

__construct(\phpbb\db\driver\driver_interface $db, \phpbb\config\config $config, \phpbb\passwords\manager $passwords_manager, \phpbb\user $user)   X-Ref
LDAP Authentication Constructor

param: \phpbb\db\driver\driver_interface        $db        Database object
param: \phpbb\config\config        $config        Config object
param: \phpbb\passwords\manager    $passwords_manager        Passwords manager object
param: \phpbb\user            $user        User object

init()   X-Ref
{@inheritdoc}


login($username, $password)   X-Ref
{@inheritdoc}


acp()   X-Ref
{@inheritdoc}


get_acp_template($new_config)   X-Ref
{@inheritdoc}


ldap_user_filter($username)   X-Ref
Generates a filter string for ldap_search to find a user

param: $username    string    Username identifying the searched user
return: string    A filter string for ldap_search

ldap_escape($string)   X-Ref
Escapes an LDAP AttributeValue

param: string    $string    The string to be escaped
return: string    The escaped string



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1