You are here

public static function CredentialsStorage::getPassword in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.3 ldap_servers/src/Helper/CredentialsStorage.php \Drupal\ldap_servers\Helper\CredentialsStorage::getPassword()

Return the temporarily saved user password.

Return value

null|string Login password.

3 calls to CredentialsStorage::getPassword()
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.
LdapEntryProvisionSubscriber::fetchDrupalAccountPassword in ldap_user/src/EventSubscriber/LdapEntryProvisionSubscriber.php
Fetch the password token.

File

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

Class

CredentialsStorage
Temporarily stores credentials from user input.

Namespace

Drupal\ldap_servers\Helper

Code

public static function getPassword() : ?string {
  return self::$userPassword;
}