Package org.keycloak.services.resources
Class LoginActionsServiceChecks.IsRedirectValid
- java.lang.Object
-
- org.keycloak.services.resources.LoginActionsServiceChecks.IsRedirectValid
-
- All Implemented Interfaces:
TokenVerifier.Predicate<JsonWebToken>
- Enclosing class:
- LoginActionsServiceChecks
public static class LoginActionsServiceChecks.IsRedirectValid extends Object implements TokenVerifier.Predicate<JsonWebToken>
Verifies whether the given redirect URL, when set, is valid for the given client.
-
-
Constructor Summary
Constructors Constructor Description IsRedirectValid(ActionTokenContext<?> context, String redirectUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(JsonWebToken t)
Performs a single check on the given token verifier.
-
-
-
Constructor Detail
-
IsRedirectValid
public IsRedirectValid(ActionTokenContext<?> context, String redirectUri)
-
-
Method Detail
-
test
public boolean test(JsonWebToken t) throws VerificationException
Description copied from interface:TokenVerifier.Predicate
Performs a single check on the given token verifier.- Specified by:
test
in interfaceTokenVerifier.Predicate<JsonWebToken>
- Parameters:
t
- Token, guaranteed to be non-null.- Returns:
- Throws:
VerificationException
-
-