You are here

public static function CredentialsStorage::getUserDn in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 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()
CredentialsStorageTests::testCredentialsStorage in ldap_servers/tests/src/Unit/CredentialsStorageTests.php
Test the temporary storage of passwords.
Server::nonAnonymousBind in ldap_servers/src/Entity/Server.php
Bind to server with credentials.

File

ldap_servers/src/Helper/CredentialsStorage.php, line 54

Class

CredentialsStorage
Temporarily stores credentials from user input.

Namespace

Drupal\ldap_servers\Helper

Code

public static function getUserDn() {
  return self::$userDn;
}