You are here

public function SimplesamlphpAuthManager::getDefaultEmail in simpleSAMLphp Authentication 8.3

Gets the mail attribute.

Return value

string The mail attribute.

File

src/Service/SimplesamlphpAuthManager.php, line 246

Class

SimplesamlphpAuthManager
Service to interact with the SimpleSAMLPHP authentication library.

Namespace

Drupal\simplesamlphp_auth\Service

Code

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