You are here

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

Whether the bind function will use these credentials.

Return value

bool Defaults to false.

2 calls to CredentialsStorage::validateCredentials()
Server::bind in ldap_servers/src/Entity/Server.php
Bind (authenticate) against an active LDAP database.
Server::nonAnonymousBind in ldap_servers/src/Entity/Server.php
Bind to server with credentials.

File

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

Class

CredentialsStorage
Temporarily stores credentials from user input.

Namespace

Drupal\ldap_servers\Helper

Code

public static function validateCredentials() {
  return self::$validate;
}