Merge branch 'master' of https://github.com/oat-sa/generis-auth-ldap
This commit is contained in:
commit
01cc9eb62b
@ -62,6 +62,16 @@ class LdapAdapter implements LoginAdapter
|
|||||||
*/
|
*/
|
||||||
protected $adapter;
|
protected $adapter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an adapter from the configuration
|
||||||
|
*
|
||||||
|
* @param array $configuration
|
||||||
|
* @return oat\authLdap\model\LdapAdapter
|
||||||
|
*/
|
||||||
|
public static function createFromConfig(array $configuration) {
|
||||||
|
return new self($configuration);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $configuration
|
* @param array $configuration
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user