You are here

public function Server::getAuthenticationNameAttribute in Lightweight Directory Access Protocol (LDAP) 8.4

Get authentication name attribute.

Return value

string Value.

Overrides ServerInterface::getAuthenticationNameAttribute

1 call to Server::getAuthenticationNameAttribute()
Server::deriveUsernameFromLdapResponse in ldap_servers/src/Entity/Server.php
Returns the username from the LDAP entry.

File

ldap_servers/src/Entity/Server.php, line 644

Class

Server
Defines the Server entity.

Namespace

Drupal\ldap_servers\Entity

Code

public function getAuthenticationNameAttribute() : ?string {
  return $this->user_attr;
}