You are here

public function SimplesamlphpAuthManager::getAttributes in simpleSAMLphp Authentication 8.3

Gets all SimpleSAML attributes.

Return value

array Array of SimpleSAML attributes.

2 calls to SimplesamlphpAuthManager::getAttributes()
SimplesamlphpAuthManager::allowUserByAttribute in src/Service/SimplesamlphpAuthManager.php
Asks all modules if current federated user is allowed to login.
SimplesamlphpAuthManager::getAttribute in src/Service/SimplesamlphpAuthManager.php
Get a specific SimpleSAML attribute.
1 method overrides SimplesamlphpAuthManager::getAttributes()
SimplesamlphpAuthTestManager::getAttributes in tests/simplesamlphp_auth_test/src/SimplesamlphpAuthTestManager.php
Gets all SimpleSAML attributes.

File

src/Service/SimplesamlphpAuthManager.php, line 256

Class

SimplesamlphpAuthManager
Service to interact with the SimpleSAMLPHP authentication library.

Namespace

Drupal\simplesamlphp_auth\Service

Code

public function getAttributes() {
  if (!$this->attributes) {
    $this->attributes = $this
      ->getSimpleSamlInstance()
      ->getAttributes();
  }
  return $this->attributes;
}