You are here

public function KeycloakServiceInterface::getKeycloakSignoutResponse in Keycloak OpenID Connect 8

Return a RP (Drupal) initiated single sign-out response.

Parameters

array $session_information: Session information array holding the required id_token.

Return value

\Symfony\Component\HttpFoundation\RedirectResponse Redirect response redirecting to the sign out target route:

  • '<front>' if Keycloak single sign-out is disabled.
  • 'keycloak.logout' if Keycloak single sign-out is enabled.
1 method overrides KeycloakServiceInterface::getKeycloakSignoutResponse()
KeycloakService::getKeycloakSignoutResponse in src/Service/KeycloakService.php
Return a RP (Drupal) initiated single sign-out response.

File

src/Service/KeycloakServiceInterface.php, line 247

Class

KeycloakServiceInterface
Keycloak service interface.

Namespace

Drupal\keycloak\Service

Code

public function getKeycloakSignoutResponse(array $session_information);