## Uses of Interface
org.keycloak.TokenVerifier.Predicate

- Packages that use TokenVerifier.Predicate
  Package | Description
  --- | ---
  org.keycloak |
  org.keycloak.authentication.actiontoken |
  org.keycloak.authentication.actiontoken.execactions |
  org.keycloak.authentication.actiontoken.idpverifyemail |
  org.keycloak.authentication.actiontoken.resetcred |
  org.keycloak.authentication.actiontoken.verifyemail |
  org.keycloak.protocol.oidc |
  org.keycloak.services.managers |
  org.keycloak.services.resources |

- - ### Uses of TokenVerifier.Predicate in org.keycloak

    Classes in org.keycloak that implement TokenVerifier.Predicate
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TokenVerifier.AudienceCheck`
    `static class` | `TokenVerifier.IssuedForCheck`
    `static class` | `TokenVerifier.RealmUrlCheck`
    `static class` | `TokenVerifier.TokenTypeCheck`

    Fields in org.keycloak declared as TokenVerifier.Predicate
    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`

    Methods in org.keycloak that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends JsonWebToken> TokenVerifier.Predicate<T>` | 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.Predicate<T>` | TokenVerifier.`optional(TokenVerifier.Predicate<T> mandatoryPredicate)` Creates an optional predicate from a predicate that will proceed with check but always pass.

    Methods in org.keycloak with parameters of type TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends JsonWebToken> TokenVerifier.Predicate<T>` | 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.Predicate<T>` | 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.

  - ### Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken

    Fields in org.keycloak.authentication.actiontoken declared as TokenVerifier.Predicate
    Modifier and Type | Field and Description
    --- | ---
    `static TokenVerifier.Predicate<DefaultActionTokenKey>` | DefaultActionToken.`ACTION_TOKEN_BASIC_CHECKS`

    Methods in org.keycloak.authentication.actiontoken that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static TokenVerifier.Predicate<JsonWebToken>` | TokenUtils.`checkThat(BooleanSupplier function, String errorEvent, String errorMessage)` Returns a predicate for use in `TokenVerifier` using the given boolean-returning function.
    `static <T extends JsonWebToken> TokenVerifier.Predicate<T>` | TokenUtils.`checkThat(Predicate<T> function, String errorEvent, String errorMessage)` Returns a predicate for use in `TokenVerifier` using the given boolean-returning function.
    `default TokenVerifier.Predicate<? super T>[]` | ActionTokenHandler.`getVerifiers(ActionTokenContext<T> tokenContext)` Returns an array of verifiers that are tested prior to handling the token.
    `static <T extends JsonWebToken> TokenVerifier.Predicate<T>` | TokenUtils.`onlyIf(Predicate<T> condition, TokenVerifier.Predicate<T> predicate)` Returns a predicate that is applied only if the given `condition` evaluates to .
    `static <T extends JsonWebToken> TokenVerifier.Predicate<? super T>[]` | TokenUtils.`predicates(TokenVerifier.Predicate<? super T>... predicate)`
    `protected TokenVerifier.Predicate<DefaultActionToken>` | AbstractActionTokenHandler.`verifyEmail(ActionTokenContext<? extends DefaultActionToken> context)`

    Methods in org.keycloak.authentication.actiontoken with parameters of type TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends JsonWebToken> TokenVerifier.Predicate<T>` | TokenUtils.`onlyIf(Predicate<T> condition, TokenVerifier.Predicate<T> predicate)` Returns a predicate that is applied only if the given `condition` evaluates to .
    `static <T extends JsonWebToken> TokenVerifier.Predicate<? super T>[]` | TokenUtils.`predicates(TokenVerifier.Predicate<? super T>... predicate)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.execactions

    Methods in org.keycloak.authentication.actiontoken.execactions that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `TokenVerifier.Predicate<? super ExecuteActionsActionToken>[]` | ExecuteActionsActionTokenHandler.`getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.idpverifyemail

    Methods in org.keycloak.authentication.actiontoken.idpverifyemail that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `TokenVerifier.Predicate<? super IdpVerifyAccountLinkActionToken>[]` | IdpVerifyAccountLinkActionTokenHandler.`getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.resetcred

    Methods in org.keycloak.authentication.actiontoken.resetcred that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `TokenVerifier.Predicate<? super ResetCredentialsActionToken>[]` | ResetCredentialsActionTokenHandler.`getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.verifyemail

    Methods in org.keycloak.authentication.actiontoken.verifyemail that return TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `TokenVerifier.Predicate<? super VerifyEmailActionToken>[]` | VerifyEmailActionTokenHandler.`getVerifiers(ActionTokenContext<VerifyEmailActionToken> tokenContext)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.protocol.oidc

    Classes in org.keycloak.protocol.oidc that implement TokenVerifier.Predicate
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `TokenManager.NotBeforeCheck`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.services.managers

    Methods in org.keycloak.services.managers with parameters of type TokenVerifier.Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static AuthenticationManager.AuthResult` | AuthenticationManager.`verifyIdentityToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, boolean checkTokenType, String checkAudience, boolean isCookie, String tokenString, javax.ws.rs.core.HttpHeaders headers, TokenVerifier.Predicate<? super AccessToken>... additionalChecks)`

  - ### Uses of TokenVerifier.Predicate in org.keycloak.services.resources

    Classes in org.keycloak.services.resources that implement TokenVerifier.Predicate
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken` This check verifies that user ID (subject) from the token matches the one from the authentication session.
    `static class` | `LoginActionsServiceChecks.IsActionRequired` Verifies that if authentication session exists and any action is required according to it, then it is the expected one.
    `static class` | `LoginActionsServiceChecks.IsRedirectValid` Verifies whether the given redirect URL, when set, is valid for the given client.

Copyright © 2021 JBoss by Red Hat. All rights reserved.