Package org.keycloak.services.resources
Class SessionCodeChecks
java.lang.Object
org.keycloak.services.resources.SessionCodeChecks
- Direct Known Subclasses:
LogoutSessionCodeChecks
-
Constructor Summary
ConstructorDescriptionSessionCodeChecks
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, HttpRequest request, ClientConnection clientConnection, KeycloakSession session, EventBuilder event, String authSessionId, String code, String execution, String clientId, String tabId, String flowPath) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkClientDisabled
(ClientModel client) protected EventBuilder
getEvent()
jakarta.ws.rs.core.Response
protected KeycloakSession
boolean
protected boolean
isActionActive
(ClientSessionCode.ActionType actionType) boolean
protected jakarta.ws.rs.core.Response
restartAuthenticationSessionFromCookie
(RootAuthenticationSessionModel existingRootSession) protected void
setClientToEvent
(ClientModel client) boolean
verifyActiveAndValidAction
(String expectedAction, ClientSessionCode.ActionType actionType) boolean
verifyRequiredAction
(String executedAction)
-
Constructor Details
-
SessionCodeChecks
public SessionCodeChecks(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, HttpRequest request, ClientConnection clientConnection, KeycloakSession session, EventBuilder event, String authSessionId, String code, String execution, String clientId, String tabId, String flowPath)
-
-
Method Details
-
getAuthenticationSession
-
getResponse
public jakarta.ws.rs.core.Response getResponse() -
getClientCode
-
isActionRequest
public boolean isActionRequest() -
initialVerifyAuthSession
-
initialVerify
public boolean initialVerify() -
setClientToEvent
-
verifyActiveAndValidAction
public boolean verifyActiveAndValidAction(String expectedAction, ClientSessionCode.ActionType actionType) -
isActionActive
-
verifyRequiredAction
-
restartAuthenticationSessionFromCookie
protected jakarta.ws.rs.core.Response restartAuthenticationSessionFromCookie(RootAuthenticationSessionModel existingRootSession) -
getSession
-
getEvent
-
checkClientDisabled
-