Package org.keycloak.adapters.undertow
Class UndertowCookieTokenStore
java.lang.Object
org.keycloak.adapters.undertow.UndertowCookieTokenStore
- All Implemented Interfaces:
AdapterTokenStore,AdapterSessionStore
Per-request object. Storage of tokens in cookie
- Author:
- Marek Posolda
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUndertowCookieTokenStore(HttpFacade facade, KeycloakDeployment deployment, io.undertow.security.api.SecurityContext securityContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisCached(RequestAuthenticator authenticator) voidlogout()voidrefreshCallback(RefreshableKeycloakSecurityContext securityContext) booleanvoidsaveAccountInfo(OidcKeycloakAccount account) void
-
Field Details
-
log
protected static org.jboss.logging.Logger log
-
-
Constructor Details
-
UndertowCookieTokenStore
public UndertowCookieTokenStore(HttpFacade facade, KeycloakDeployment deployment, io.undertow.security.api.SecurityContext securityContext)
-
-
Method Details
-
checkCurrentToken
public void checkCurrentToken()- Specified by:
checkCurrentTokenin interfaceAdapterTokenStore
-
isCached
- Specified by:
isCachedin interfaceAdapterTokenStore
-
saveAccountInfo
- Specified by:
saveAccountInfoin interfaceAdapterTokenStore
-
logout
public void logout()- Specified by:
logoutin interfaceAdapterTokenStore
-
refreshCallback
- Specified by:
refreshCallbackin interfaceAdapterTokenStore
-
saveRequest
public void saveRequest()- Specified by:
saveRequestin interfaceAdapterSessionStore
-
restoreRequest
public boolean restoreRequest()- Specified by:
restoreRequestin interfaceAdapterSessionStore
-