public function SimplesamlphpAuthManager::isActivated in simpleSAMLphp Authentication 8.3
Checks if SimpleSAMLphp_auth is enabled.
Return value
bool Whether SimpleSAMLphp authentication is enabled or not.
File
- src/
Service/ SimplesamlphpAuthManager.php, line 309
Class
- SimplesamlphpAuthManager
- Service to interact with the SimpleSAMLPHP authentication library.
Namespace
Drupal\simplesamlphp_auth\ServiceCode
public function isActivated() {
if ($this->config
->get('activate') == 1) {
return TRUE;
}
return FALSE;
}