You are here

public function SimplesamlphpAuthManager::getStorage in simpleSAMLphp Authentication 8.3

Get SimpleSAMLphp storage type.

Return value

string The storage type.

1 method overrides SimplesamlphpAuthManager::getStorage()
SimplesamlphpAuthTestManager::getStorage in tests/simplesamlphp_auth_test/src/SimplesamlphpAuthTestManager.php
Get SimpleSAMLphp storage type.

File

src/Service/SimplesamlphpAuthManager.php, line 197

Class

SimplesamlphpAuthManager
Service to interact with the SimpleSAMLPHP authentication library.

Namespace

Drupal\simplesamlphp_auth\Service

Code

public function getStorage() {
  $config = $this
    ->getSimpleSamlConfiguration();
  if (!empty($config) && !empty($config
    ->getValue('store.type'))) {
    return $config
      ->getValue('store.type');
  }
  return NULL;
}