public class ExecuteActionsActionTokenHandler extends AbstractActionTokenHandler<ExecuteActionsActionToken>
| Constructor and Description |
|---|
ExecuteActionsActionTokenHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseTokenRepeatedly(ExecuteActionsActionToken token,
ActionTokenContext<ExecuteActionsActionToken> tokenContext)
Returns
true when the token can be used repeatedly to invoke the action, false when the token
is intended to be for single use only. |
TokenVerifier.Predicate<? super ExecuteActionsActionToken>[] |
getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext)
Returns an array of verifiers that are tested prior to handling the token.
|
javax.ws.rs.core.Response |
handleToken(ExecuteActionsActionToken token,
ActionTokenContext<ExecuteActionsActionToken> tokenContext)
Performs the action as per the token details.
|
close, create, eventType, getAuthenticationSessionIdFromToken, getDefaultErrorMessage, getDefaultEventError, getId, getTokenClass, init, postInit, startFreshAuthenticationSession, verifyEmailclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic TokenVerifier.Predicate<? super ExecuteActionsActionToken>[] getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext)
ActionTokenHandlernull.null.public javax.ws.rs.core.Response handleToken(ExecuteActionsActionToken token, ActionTokenContext<ExecuteActionsActionToken> tokenContext)
ActionTokenHandlerActionTokenHandler.handleToken(T, org.keycloak.authentication.actiontoken.ActionTokenContext<T>) succeed.public boolean canUseTokenRepeatedly(ExecuteActionsActionToken token, ActionTokenContext<ExecuteActionsActionToken> tokenContext)
ActionTokenHandlertrue when the token can be used repeatedly to invoke the action, false when the token
is intended to be for single use only.canUseTokenRepeatedly in interface ActionTokenHandler<ExecuteActionsActionToken>canUseTokenRepeatedly in class AbstractActionTokenHandler<ExecuteActionsActionToken>Copyright © 2021 JBoss by Red Hat. All rights reserved.