Class ActionTokenContext<T extends JsonWebToken>
java.lang.Object
org.keycloak.authentication.actiontoken.ActionTokenContext<T>
- Author:
- hmlnarik
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionActionTokenContext(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, HttpRequest request, EventBuilder event, ActionTokenHandler<T> handler, String executionId, String clientData, ActionTokenContext.ProcessAuthenticateFlow processFlow, ActionTokenContext.ProcessBrokerFlow processBrokerFlow) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsebrokerFlow(String authSessionId, String code, String flowPath) createAuthenticationSessionForClient(String clientId) getEvent()getRealm()jakarta.ws.rs.core.UriInfobooleanjakarta.ws.rs.core.ResponseprocessFlow(boolean action, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor) voidsetAuthenticationSession(AuthenticationSessionModel authenticationSession, boolean isFresh) voidsetEvent(EventBuilder event) voidsetExecutionId(String executionId)
-
Constructor Details
-
ActionTokenContext
public ActionTokenContext(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, HttpRequest request, EventBuilder event, ActionTokenHandler<T> handler, String executionId, String clientData, ActionTokenContext.ProcessAuthenticateFlow processFlow, ActionTokenContext.ProcessBrokerFlow processBrokerFlow)
-
-
Method Details
-
getEvent
-
setEvent
-
getSession
-
getRealm
-
getUriInfo
public jakarta.ws.rs.core.UriInfo getUriInfo() -
getClientConnection
-
getRequest
-
createAuthenticationSessionForClient
public AuthenticationSessionModel createAuthenticationSessionForClient(String clientId) throws jakarta.ws.rs.core.UriBuilderException, IllegalArgumentException - Throws:
jakarta.ws.rs.core.UriBuilderExceptionIllegalArgumentException
-
isAuthenticationSessionFresh
public boolean isAuthenticationSessionFresh() -
getAuthenticationSession
-
setAuthenticationSession
public void setAuthenticationSession(AuthenticationSessionModel authenticationSession, boolean isFresh) -
getHandler
-
getExecutionId
-
setExecutionId
-
processFlow
public jakarta.ws.rs.core.Response processFlow(boolean action, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor) -
brokerFlow
-