Package org.keycloak.adapters.undertow
Class UndertowCookieTokenStore
java.lang.Object
org.keycloak.adapters.undertow.UndertowCookieTokenStore
- All Implemented Interfaces:
org.keycloak.adapters.AdapterTokenStore
,AdapterSessionStore
public class UndertowCookieTokenStore
extends Object
implements org.keycloak.adapters.AdapterTokenStore
Per-request object. Storage of tokens in cookie
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUndertowCookieTokenStore
(HttpFacade facade, org.keycloak.adapters.KeycloakDeployment deployment, io.undertow.security.api.SecurityContext securityContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
isCached
(org.keycloak.adapters.RequestAuthenticator authenticator) void
logout()
void
refreshCallback
(org.keycloak.adapters.RefreshableKeycloakSecurityContext securityContext) boolean
void
saveAccountInfo
(org.keycloak.adapters.OidcKeycloakAccount account) void
-
Field Details
-
log
protected static org.jboss.logging.Logger log
-
-
Constructor Details
-
UndertowCookieTokenStore
public UndertowCookieTokenStore(HttpFacade facade, org.keycloak.adapters.KeycloakDeployment deployment, io.undertow.security.api.SecurityContext securityContext)
-
-
Method Details
-
checkCurrentToken
public void checkCurrentToken()- Specified by:
checkCurrentToken
in interfaceorg.keycloak.adapters.AdapterTokenStore
-
isCached
public boolean isCached(org.keycloak.adapters.RequestAuthenticator authenticator) - Specified by:
isCached
in interfaceorg.keycloak.adapters.AdapterTokenStore
-
saveAccountInfo
public void saveAccountInfo(org.keycloak.adapters.OidcKeycloakAccount account) - Specified by:
saveAccountInfo
in interfaceorg.keycloak.adapters.AdapterTokenStore
-
logout
public void logout()- Specified by:
logout
in interfaceorg.keycloak.adapters.AdapterTokenStore
-
refreshCallback
public void refreshCallback(org.keycloak.adapters.RefreshableKeycloakSecurityContext securityContext) - Specified by:
refreshCallback
in interfaceorg.keycloak.adapters.AdapterTokenStore
-
saveRequest
public void saveRequest()- Specified by:
saveRequest
in interfaceAdapterSessionStore
-
restoreRequest
public boolean restoreRequest()- Specified by:
restoreRequest
in interfaceAdapterSessionStore
-