Uses of Class
org.keycloak.authentication.actiontoken.ActionTokenContext
Packages that use ActionTokenContext
Package
Description
-
Uses of ActionTokenContext in org.keycloak.authentication
Methods in org.keycloak.authentication with parameters of type ActionTokenContextModifier and TypeMethodDescriptionstatic voidAuthenticatorUtil.logoutOtherSessions(DefaultActionToken token, ActionTokenContext<? extends DefaultActionToken> context) Logouts all sessions that are different to the current authentication session managed in the action token context. -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken
Methods in org.keycloak.authentication.actiontoken with parameters of type ActionTokenContextModifier and TypeMethodDescriptionbooleanAbstractActionTokenHandler.canUseTokenRepeatedly(T token, ActionTokenContext<T> tokenContext) booleanActionTokenHandler.canUseTokenRepeatedly(T token, ActionTokenContext<T> tokenContext) Returnstruewhen the token can be used repeatedly to invoke the action,falsewhen the token is intended to be for single use only.AbstractActionTokenHandler.getAuthenticationSessionIdFromToken(T token, ActionTokenContext<T> tokenContext, AuthenticationSessionModel currentAuthSession) ActionTokenHandler.getAuthenticationSessionIdFromToken(T token, ActionTokenContext<T> tokenContext, AuthenticationSessionModel currentAuthSession) Returns a compound authentication session ID requested from within the given token that the handler should attempt to join.default TokenVerifier.Predicate<? super T>[]ActionTokenHandler.getVerifiers(ActionTokenContext<T> tokenContext) Returns an array of verifiers that are tested prior to handling the token.jakarta.ws.rs.core.ResponseActionTokenHandler.handleToken(T token, ActionTokenContext<T> tokenContext) Performs the action as per the token details.default jakarta.ws.rs.core.ResponseActionTokenHandler.preHandleToken(T token, ActionTokenContext<T> tokenContext) This method allows to parse the token and extract information from it after initial verification.AbstractActionTokenHandler.startFreshAuthenticationSession(T token, ActionTokenContext<T> tokenContext) ActionTokenHandler.startFreshAuthenticationSession(T token, ActionTokenContext<T> tokenContext) Creates a fresh authentication session according to the information from the token.protected TokenVerifier.Predicate<DefaultActionToken>AbstractActionTokenHandler.verifyEmail(ActionTokenContext<? extends DefaultActionToken> context) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.execactions
Methods in org.keycloak.authentication.actiontoken.execactions with parameters of type ActionTokenContextModifier and TypeMethodDescriptionbooleanExecuteActionsActionTokenHandler.canUseTokenRepeatedly(ExecuteActionsActionToken token, ActionTokenContext<ExecuteActionsActionToken> tokenContext) TokenVerifier.Predicate<? super ExecuteActionsActionToken>[]ExecuteActionsActionTokenHandler.getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext) jakarta.ws.rs.core.ResponseExecuteActionsActionTokenHandler.handleToken(ExecuteActionsActionToken token, ActionTokenContext<ExecuteActionsActionToken> tokenContext) protected TokenVerifier.Predicate<ExecuteActionsActionToken>ExecuteActionsActionTokenHandler.verifyRequiredActions(ActionTokenContext<ExecuteActionsActionToken> tokenContext) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.idpverifyemail
Methods in org.keycloak.authentication.actiontoken.idpverifyemail with parameters of type ActionTokenContextModifier and TypeMethodDescriptionIdpVerifyAccountLinkActionTokenHandler.getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext) jakarta.ws.rs.core.ResponseIdpVerifyAccountLinkActionTokenHandler.handleToken(IdpVerifyAccountLinkActionToken token, ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.inviteorg
Methods in org.keycloak.authentication.actiontoken.inviteorg with parameters of type ActionTokenContextModifier and TypeMethodDescriptionTokenVerifier.Predicate<? super InviteOrgActionToken>[]InviteOrgActionTokenHandler.getVerifiers(ActionTokenContext<InviteOrgActionToken> tokenContext) jakarta.ws.rs.core.ResponseInviteOrgActionTokenHandler.handleToken(InviteOrgActionToken token, ActionTokenContext<InviteOrgActionToken> tokenContext) jakarta.ws.rs.core.ResponseInviteOrgActionTokenHandler.preHandleToken(InviteOrgActionToken token, ActionTokenContext<InviteOrgActionToken> tokenContext) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.resetcred
Methods in org.keycloak.authentication.actiontoken.resetcred with parameters of type ActionTokenContextModifier and TypeMethodDescriptionbooleanResetCredentialsActionTokenHandler.canUseTokenRepeatedly(ResetCredentialsActionToken token, ActionTokenContext tokenContext) ResetCredentialsActionTokenHandler.getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext) jakarta.ws.rs.core.ResponseResetCredentialsActionTokenHandler.handleToken(ResetCredentialsActionToken token, ActionTokenContext tokenContext) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.updateemail
Methods in org.keycloak.authentication.actiontoken.updateemail with parameters of type ActionTokenContextModifier and TypeMethodDescriptionbooleanUpdateEmailActionTokenHandler.canUseTokenRepeatedly(UpdateEmailActionToken token, ActionTokenContext<UpdateEmailActionToken> tokenContext) TokenVerifier.Predicate<? super UpdateEmailActionToken>[]UpdateEmailActionTokenHandler.getVerifiers(ActionTokenContext<UpdateEmailActionToken> tokenContext) jakarta.ws.rs.core.ResponseUpdateEmailActionTokenHandler.handleToken(UpdateEmailActionToken token, ActionTokenContext<UpdateEmailActionToken> tokenContext) -
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.verifyemail
Methods in org.keycloak.authentication.actiontoken.verifyemail with parameters of type ActionTokenContextModifier and TypeMethodDescriptionTokenVerifier.Predicate<? super VerifyEmailActionToken>[]VerifyEmailActionTokenHandler.getVerifiers(ActionTokenContext<VerifyEmailActionToken> tokenContext) jakarta.ws.rs.core.ResponseVerifyEmailActionTokenHandler.handleToken(VerifyEmailActionToken token, ActionTokenContext<VerifyEmailActionToken> tokenContext) -
Uses of ActionTokenContext in org.keycloak.services.resources
Methods in org.keycloak.services.resources with parameters of type ActionTokenContextModifier and TypeMethodDescriptionstatic <T extends JsonWebToken>
voidLoginActionsServiceChecks.checkIsClientValid(T token, ActionTokenContext<T> context) Verifies whether the client denoted by client ID in token'siss(issuedFor) field both exists and is enabled.static <T extends JsonWebToken & SingleUseObjectKeyModel>
voidLoginActionsServiceChecks.checkIsUserValid(T token, ActionTokenContext<T> context, EventBuilder event) Verifies whether the user given by ID both exists in the current realm.static <T extends JsonWebToken & SingleUseObjectKeyModel>
voidLoginActionsServiceChecks.checkTokenWasNotUsedYet(T token, ActionTokenContext<T> context) static <T extends JsonWebToken>
booleanLoginActionsServiceChecks.doesAuthenticationSessionFromCookieMatchOneFromToken(ActionTokenContext<T> context, AuthenticationSessionModel authSessionFromCookie, String authSessionCompoundIdFromToken) This check verifies that current authentication session is consistent with the one specified in token.Method parameters in org.keycloak.services.resources with type arguments of type ActionTokenContextModifier and TypeMethodDescriptionprotected <T extends JsonWebToken & SingleUseObjectKeyModel>
jakarta.ws.rs.core.ResponseLoginActionsService.handleActionToken(String tokenString, String execution, String clientId, String tabId, String clientData, TriFunction<ActionTokenHandler<T>, T, ActionTokenContext<T>, jakarta.ws.rs.core.Response> preHandleToken) Constructors in org.keycloak.services.resources with parameters of type ActionTokenContextModifierConstructorDescriptionIsActionRequired(ActionTokenContext<?> context, CommonClientSessionModel.Action expectedAction) IsRedirectValid(ActionTokenContext<?> context, String redirectUri)