public class ActionTokenContext<T extends JsonWebToken> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ActionTokenContext.ProcessAuthenticateFlow |
static interface |
ActionTokenContext.ProcessBrokerFlow |
Constructor and Description |
---|
ActionTokenContext(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
org.keycloak.common.ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event,
ActionTokenHandler<T> handler,
String executionId,
ActionTokenContext.ProcessAuthenticateFlow processFlow,
ActionTokenContext.ProcessBrokerFlow processBrokerFlow) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
brokerFlow(String authSessionId,
String code,
String flowPath) |
AuthenticationSessionModel |
createAuthenticationSessionForClient(String clientId) |
AuthenticationSessionModel |
getAuthenticationSession() |
org.keycloak.common.ClientConnection |
getClientConnection() |
EventBuilder |
getEvent() |
String |
getExecutionId() |
ActionTokenHandler<T> |
getHandler() |
RealmModel |
getRealm() |
org.jboss.resteasy.spi.HttpRequest |
getRequest() |
KeycloakSession |
getSession() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
boolean |
isAuthenticationSessionFresh() |
javax.ws.rs.core.Response |
processFlow(boolean action,
String flowPath,
AuthenticationFlowModel flow,
String errorMessage,
AuthenticationProcessor processor) |
void |
setAuthenticationSession(AuthenticationSessionModel authenticationSession,
boolean isFresh) |
void |
setEvent(EventBuilder event) |
void |
setExecutionId(String executionId) |
public ActionTokenContext(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, org.keycloak.common.ClientConnection clientConnection, org.jboss.resteasy.spi.HttpRequest request, EventBuilder event, ActionTokenHandler<T> handler, String executionId, ActionTokenContext.ProcessAuthenticateFlow processFlow, ActionTokenContext.ProcessBrokerFlow processBrokerFlow)
public EventBuilder getEvent()
public void setEvent(EventBuilder event)
public KeycloakSession getSession()
public RealmModel getRealm()
public javax.ws.rs.core.UriInfo getUriInfo()
public org.keycloak.common.ClientConnection getClientConnection()
public org.jboss.resteasy.spi.HttpRequest getRequest()
public AuthenticationSessionModel createAuthenticationSessionForClient(String clientId) throws javax.ws.rs.core.UriBuilderException, IllegalArgumentException
javax.ws.rs.core.UriBuilderException
IllegalArgumentException
public boolean isAuthenticationSessionFresh()
public AuthenticationSessionModel getAuthenticationSession()
public void setAuthenticationSession(AuthenticationSessionModel authenticationSession, boolean isFresh)
public ActionTokenHandler<T> getHandler()
public String getExecutionId()
public void setExecutionId(String executionId)
public javax.ws.rs.core.Response processFlow(boolean action, String flowPath, AuthenticationFlowModel flow, String errorMessage, AuthenticationProcessor processor)
Copyright © 2019 JBoss by Red Hat. All rights reserved.