You are here

public static function CredentialsStorage::getPassword 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::getPassword()

Return the temporarily saved user password.

Return value

null|string Login password.

3 calls to CredentialsStorage::getPassword()
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.
TokenProcessor::fetchPasswordToken in ldap_servers/src/Processor/TokenProcessor.php
Fetch the password token.

File

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

Class

CredentialsStorage
Temporarily stores credentials from user input.

Namespace

Drupal\ldap_servers\Helper

Code

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