You are here

public function SimplesamlphpAuthManager::getAuthname in simpleSAMLphp Authentication 8.3

Gets the unique id of the user from the IdP.

Return value

string The authname.

File

src/Service/SimplesamlphpAuthManager.php, line 226

Class

SimplesamlphpAuthManager
Service to interact with the SimpleSAMLPHP authentication library.

Namespace

Drupal\simplesamlphp_auth\Service

Code

public function getAuthname() {
  return $this
    ->getAttribute($this->config
    ->get('unique_id'));
}