Package | Description |
---|---|
org.keycloak |
Modifier and Type | Class and Description |
---|---|
static class |
TokenVerifier.AudienceCheck |
static class |
TokenVerifier.IssuedForCheck |
static class |
TokenVerifier.RealmUrlCheck |
static class |
TokenVerifier.TokenTypeCheck |
Modifier and Type | Field and Description |
---|---|
static TokenVerifier.Predicate<JsonWebToken> |
TokenVerifier.IS_ACTIVE
Check for token being neither expired nor used before it gets valid.
|
static TokenVerifier.Predicate<JsonWebToken> |
TokenVerifier.SUBJECT_EXISTS_CHECK |
Modifier and Type | Method and Description |
---|---|
static <T extends JsonWebToken> |
TokenVerifier.alternative(TokenVerifier.Predicate<? super T>... predicates)
Creates a predicate that will proceed with checks of the given predicates
and will pass if and only if at least one of the given predicates passes.
|
static <T extends JsonWebToken> |
TokenVerifier.optional(TokenVerifier.Predicate<T> mandatoryPredicate)
Creates an optional predicate from a predicate that will proceed with check but always pass.
|
Modifier and Type | Method and Description |
---|---|
static <T extends JsonWebToken> |
TokenVerifier.alternative(TokenVerifier.Predicate<? super T>... predicates)
Creates a predicate that will proceed with checks of the given predicates
and will pass if and only if at least one of the given predicates passes.
|
static <T extends JsonWebToken> |
TokenVerifier.optional(TokenVerifier.Predicate<T> mandatoryPredicate)
Creates an optional predicate from a predicate that will proceed with check but always pass.
|
TokenVerifier<T> |
TokenVerifier.withChecks(TokenVerifier.Predicate<? super T>... checks)
Will test the given checks in
TokenVerifier.verify() method in addition to already set checks. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.