public function KeycloakService::isEnabled in Keycloak OpenID Connect 8
Whether the Keycloak client is enabled.
Return value
bool TRUE, if the Keycloak client is enabled, FALSE otherwise.
Overrides KeycloakServiceInterface::isEnabled
4 calls to KeycloakService::isEnabled()
- KeycloakService::isI18nEnabled in src/
Service/ KeycloakService.php - Whether Keycloak multi-language support is enabled.
- KeycloakService::isKeycloakUser in src/
Service/ KeycloakService.php - Whether the currently logged in user was logged in using Keycloak.
- KeycloakService::isSsoEnabled in src/
Service/ KeycloakService.php - Whether Keycloak single sign-on (SSO) is enabled.
- KeycloakService::setSessionInfo in src/
Service/ KeycloakService.php - Store the Keycloak session information to the user session.
File
- src/
Service/ KeycloakService.php, line 96
Class
- KeycloakService
- Keycloak service.
Namespace
Drupal\keycloak\ServiceCode
public function isEnabled() {
return $this->config
->get('enabled');
}