| Modifier and Type | Method and Description |
|---|---|
boolean |
ActionTokenHandler.canUseTokenRepeatedly(T token,
ActionTokenContext<T> 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. |
boolean |
AbstractActionTokenHander.canUseTokenRepeatedly(T token,
ActionTokenContext<T> tokenContext) |
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.
|
String |
AbstractActionTokenHander.getAuthenticationSessionIdFromToken(T token,
ActionTokenContext<T> tokenContext,
AuthenticationSessionModel currentAuthSession) |
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 |
ActionTokenHandler.startFreshAuthenticationSession(T token,
ActionTokenContext<T> tokenContext)
Creates a fresh authentication session according to the information from the token.
|
AuthenticationSessionModel |
AbstractActionTokenHander.startFreshAuthenticationSession(T token,
ActionTokenContext<T> tokenContext) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
TokenVerifier.Predicate<? super IdpVerifyAccountLinkActionToken>[] |
IdpVerifyAccountLinkActionTokenHandler.getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext) |
javax.ws.rs.core.Response |
IdpVerifyAccountLinkActionTokenHandler.handleToken(IdpVerifyAccountLinkActionToken token,
ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
TokenVerifier.Predicate<? super VerifyEmailActionToken>[] |
VerifyEmailActionTokenHandler.getVerifiers(ActionTokenContext<VerifyEmailActionToken> tokenContext) |
javax.ws.rs.core.Response |
VerifyEmailActionTokenHandler.handleToken(VerifyEmailActionToken token,
ActionTokenContext<VerifyEmailActionToken> tokenContext) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends JsonWebToken> |
LoginActionsServiceChecks.checkIsClientValid(T token,
ActionTokenContext<T> context)
Verifies whether the client denoted by client ID in token's
iss (issuedFor)
field both exists and is enabled. |
static <T extends JsonWebToken & ActionTokenKeyModel> |
LoginActionsServiceChecks.checkIsUserValid(T token,
ActionTokenContext<T> context)
Verifies whether the user given by ID both exists in the current realm.
|
static <T extends JsonWebToken> |
LoginActionsServiceChecks.checkNotLoggedInYet(ActionTokenContext<T> context,
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 & ActionTokenKeyModel> |
LoginActionsServiceChecks.checkTokenWasNotUsedYet(T token,
ActionTokenContext<T> context) |
static <T extends JsonWebToken> |
LoginActionsServiceChecks.doesAuthenticationSessionFromCookieMatchOneFromToken(ActionTokenContext<T> context,
AuthenticationSessionModel authSessionFromCookie,
String authSessionCompoundIdFromToken)
This check verifies that current authentication session is consistent with the one specified in token.
|
| Constructor and Description |
|---|
AuthenticationSessionUserIdMatchesOneFromToken(ActionTokenContext<?> context) |
IsActionRequired(ActionTokenContext<?> context,
CommonClientSessionModel.Action expectedAction) |
IsRedirectValid(ActionTokenContext<?> context,
String redirectUri) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.