You are here

public function KeycloakService::isSsoEnabled in Keycloak OpenID Connect 8

Whether Keycloak single sign-on (SSO) is enabled.

Return value

bool TRUE, if single sign-on is enabled, FALSE otherwise.

Overrides KeycloakServiceInterface::isSsoEnabled

File

src/Service/KeycloakService.php, line 257

Class

KeycloakService
Keycloak service.

Namespace

Drupal\keycloak\Service

Code

public function isSsoEnabled() {
  return $this
    ->isEnabled() && $this->config
    ->get('settings.keycloak_sso');
}