You are here

public function KeycloakServiceInterface::getSessionInfo in Keycloak OpenID Connect 8

Return an associative array of Keycloak session information.

Parameters

array|null $keys: (optional) Array of session info keys to retrieve or NULL. If no keys are provided, the entire session info will be returned. Defaults to NULL.

Return value

array Associative array of Keycloak session information.

1 method overrides KeycloakServiceInterface::getSessionInfo()
KeycloakService::getSessionInfo in src/Service/KeycloakService.php
Return an associative array of Keycloak session information.

File

src/Service/KeycloakServiceInterface.php, line 161

Class

KeycloakServiceInterface
Keycloak service interface.

Namespace

Drupal\keycloak\Service

Code

public function getSessionInfo($keys = NULL);