public static function CredentialsStorage::getUserDn in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_servers/src/Helper/CredentialsStorage.php \Drupal\ldap_servers\Helper\CredentialsStorage::getUserDn()
Return the temporarily saved user DN.
Return value
null|string Login name.
2 calls to CredentialsStorage::getUserDn()
- CredentialsStorageTest::testCredentialsStorage in ldap_servers/
tests/ src/ Unit/ CredentialsStorageTest.php - Test the temporary storage of passwords.
- LdapBridge::bind in ldap_servers/
src/ LdapBridge.php - Bind (authenticate) against an active LDAP database.
File
- ldap_servers/
src/ Helper/ CredentialsStorage.php, line 73
Class
- CredentialsStorage
- Temporarily stores credentials from user input.
Namespace
Drupal\ldap_servers\HelperCode
public static function getUserDn() : ?string {
return self::$userDn;
}