[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/authentication/ldap/ -> ldap.php (summary)

(no description)

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 206 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgAuthenticationLdap:: (2 methods):
  onUserAuthenticate()
  searchByString()


Class: PlgAuthenticationLdap  - X-Ref

LDAP Authentication Plugin

onUserAuthenticate($credentials, $options, &$response)   X-Ref
This method should handle any authentication and report back to the subject

param: array   $credentials  Array holding the user credentials
param: array   $options      Array of extra options
param: object  &$response    Authentication response object
return: boolean

searchByString($search, Ldap $ldap)   X-Ref
Shortcut method to perform a LDAP search based on a semicolon separated string

Note that this method requires that semicolons which should be part of the search term to be escaped
to correctly split the search string into separate lookups

param: string  $search  search string of search values
param: Ldap    $ldap    The LDAP client
return: Entry|null The search result entry if a matching record was found



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer