Uses of Class
org.keycloak.authentication.actiontoken.ActionTokenContext
-
-
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken
Methods in org.keycloak.authentication.actiontoken with parameters of type ActionTokenContext Modifier and Type Method Description boolean
AbstractActionTokenHandler. canUseTokenRepeatedly(T token, ActionTokenContext<T> tokenContext)
boolean
ActionTokenHandler. canUseTokenRepeatedly(T token, ActionTokenContext<T> tokenContext)
Returnstrue
when the token can be used repeatedly to invoke the action,false
when the token is intended to be for single use only.String
AbstractActionTokenHandler. getAuthenticationSessionIdFromToken(T token, ActionTokenContext<T> tokenContext, AuthenticationSessionModel currentAuthSession)
String
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.javax.ws.rs.core.Response
ActionTokenHandler. handleToken(T token, ActionTokenContext<T> tokenContext)
Performs the action as per the token details.AuthenticationSessionModel
AbstractActionTokenHandler. startFreshAuthenticationSession(T token, ActionTokenContext<T> tokenContext)
AuthenticationSessionModel
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 ActionTokenContext Modifier and Type Method Description boolean
ExecuteActionsActionTokenHandler. canUseTokenRepeatedly(ExecuteActionsActionToken token, ActionTokenContext<ExecuteActionsActionToken> tokenContext)
TokenVerifier.Predicate<? super ExecuteActionsActionToken>[]
ExecuteActionsActionTokenHandler. getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext)
javax.ws.rs.core.Response
ExecuteActionsActionTokenHandler. 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 ActionTokenContext Modifier and Type Method Description TokenVerifier.Predicate<? super IdpVerifyAccountLinkActionToken>[]
IdpVerifyAccountLinkActionTokenHandler. getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext)
javax.ws.rs.core.Response
IdpVerifyAccountLinkActionTokenHandler. handleToken(IdpVerifyAccountLinkActionToken token, ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext)
-
Uses of ActionTokenContext in org.keycloak.authentication.actiontoken.resetcred
Methods in org.keycloak.authentication.actiontoken.resetcred with parameters of type ActionTokenContext Modifier and Type Method Description boolean
ResetCredentialsActionTokenHandler. canUseTokenRepeatedly(ResetCredentialsActionToken token, ActionTokenContext tokenContext)
TokenVerifier.Predicate<? super ResetCredentialsActionToken>[]
ResetCredentialsActionTokenHandler. getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext)
javax.ws.rs.core.Response
ResetCredentialsActionTokenHandler. 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 ActionTokenContext Modifier and Type Method Description boolean
UpdateEmailActionTokenHandler. canUseTokenRepeatedly(UpdateEmailActionToken token, ActionTokenContext<UpdateEmailActionToken> tokenContext)
TokenVerifier.Predicate<? super UpdateEmailActionToken>[]
UpdateEmailActionTokenHandler. getVerifiers(ActionTokenContext<UpdateEmailActionToken> tokenContext)
javax.ws.rs.core.Response
UpdateEmailActionTokenHandler. 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 ActionTokenContext Modifier and Type Method Description TokenVerifier.Predicate<? super VerifyEmailActionToken>[]
VerifyEmailActionTokenHandler. getVerifiers(ActionTokenContext<VerifyEmailActionToken> tokenContext)
javax.ws.rs.core.Response
VerifyEmailActionTokenHandler. handleToken(VerifyEmailActionToken token, ActionTokenContext<VerifyEmailActionToken> tokenContext)
-
Uses of ActionTokenContext in org.keycloak.services.resources
Methods in org.keycloak.services.resources with parameters of type ActionTokenContext Modifier and Type Method Description static <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)
Verifies whether the user given by ID both exists in the current realm.static <T extends JsonWebToken>
voidLoginActionsServiceChecks. checkNotLoggedInYet(ActionTokenContext<T> context, AuthenticationSessionModel authSessionFromCookie, String authSessionId)
Verifies that the authentication session has not yet been converted to user session, in other words that the user has not yet completed authentication and logged in.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.Constructors in org.keycloak.services.resources with parameters of type ActionTokenContext Constructor Description AuthenticationSessionUserIdMatchesOneFromToken(ActionTokenContext<?> context)
IsActionRequired(ActionTokenContext<?> context, CommonClientSessionModel.Action expectedAction)
IsRedirectValid(ActionTokenContext<?> context, String redirectUri)
-