public class ResetCredentialsActionTokenHandler extends AbstractActionTokenHandler<ResetCredentialsActionToken>
Modifier and Type | Class and Description |
---|---|
static class |
ResetCredentialsActionTokenHandler.ResetCredsAuthenticationProcessor |
Constructor and Description |
---|
ResetCredentialsActionTokenHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canUseTokenRepeatedly(ResetCredentialsActionToken token,
ActionTokenContext 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 ResetCredentialsActionToken>[] |
getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext)
Returns an array of verifiers that are tested prior to handling the token.
|
javax.ws.rs.core.Response |
handleToken(ResetCredentialsActionToken token,
ActionTokenContext tokenContext)
Performs the action as per the token details.
|
close, create, eventType, getAuthenticationSessionIdFromToken, getDefaultErrorMessage, getDefaultEventError, getId, getTokenClass, init, postInit, startFreshAuthenticationSession, verifyEmail
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public TokenVerifier.Predicate<? super ResetCredentialsActionToken>[] getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext)
ActionTokenHandler
null
.null
.public javax.ws.rs.core.Response handleToken(ResetCredentialsActionToken token, ActionTokenContext tokenContext)
ActionTokenHandler
ActionTokenHandler.handleToken(T, org.keycloak.authentication.actiontoken.ActionTokenContext<T>)
succeed.public boolean canUseTokenRepeatedly(ResetCredentialsActionToken token, ActionTokenContext tokenContext)
ActionTokenHandler
true
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<ResetCredentialsActionToken>
canUseTokenRepeatedly
in class AbstractActionTokenHandler<ResetCredentialsActionToken>
Copyright © 2021 JBoss by Red Hat. All rights reserved.