public static class LoginActionsServiceChecks.IsActionRequired extends Object implements TokenVerifier.Predicate<JsonWebToken>
Constructor and Description |
---|
IsActionRequired(ActionTokenContext<?> context,
CommonClientSessionModel.Action expectedAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(JsonWebToken t)
Performs a single check on the given token verifier.
|
public IsActionRequired(ActionTokenContext<?> context, CommonClientSessionModel.Action expectedAction)
public boolean test(JsonWebToken t) throws VerificationException
TokenVerifier.Predicate
test
in interface TokenVerifier.Predicate<JsonWebToken>
t
- Token, guaranteed to be non-null.VerificationException
Copyright © 2021 JBoss by Red Hat. All rights reserved.