Merge branch 'master' of https://github.com/oat-sa/generis-auth-ldap
This commit is contained in:
commit
01cc9eb62b
@ -61,6 +61,16 @@ class LdapAdapter implements LoginAdapter
|
|||||||
* @var \Zend\Authentication\Adapter\Ldap
|
* @var \Zend\Authentication\Adapter\Ldap
|
||||||
*/
|
*/
|
||||||
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
|
||||||
@ -195,4 +205,4 @@ class LdapAdapter implements LoginAdapter
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user