Interface OidcSessionRegistry
- All Known Implementing Classes:
InMemoryOidcSessionRegistry
public interface OidcSessionRegistry
A registry to record the tie between the OIDC Provider session and the Client session.
This is handy when a provider makes a logout request that indicates the OIDC Provider
session or the End User.
- Since:
- 6.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionremoveSessionInformation
(String clientSessionId) Deregister the OIDC Provider session tied to the provided client session.removeSessionInformation
(OidcLogoutToken logoutToken) Deregister the OIDC Provider sessions referenced by the provided OIDC Logout Token by its session id or its subject.void
Register a OIDC Provider session with the provided client session.
-
Method Details
-
saveSessionInformation
Register a OIDC Provider session with the provided client session. Generally speaking, the client session should be the session tied to the current login.- Parameters:
info
- theOidcSessionInformation
to use
-
removeSessionInformation
Deregister the OIDC Provider session tied to the provided client session. Generally speaking, the client session should be the session tied to the current logout.- Parameters:
clientSessionId
- the client session- Returns:
- any found
OidcSessionInformation
, could benull
-
removeSessionInformation
Deregister the OIDC Provider sessions referenced by the provided OIDC Logout Token by its session id or its subject. Note that the issuer and audience should also match the corresponding values found in eachOidcSessionInformation
returned.- Parameters:
logoutToken
- theOidcLogoutToken
- Returns:
- any found
OidcSessionInformation
s, could be empty
-