Uses of Interface
org.keycloak.TokenVerifier.Predicate
- 
- 
Uses of TokenVerifier.Predicate in org.keycloakClasses in org.keycloak that implement TokenVerifier.Predicate Modifier and Type Class Description static classTokenVerifier.AudienceCheckstatic classTokenVerifier.IssuedForCheckstatic classTokenVerifier.RealmUrlCheckstatic classTokenVerifier.TokenTypeCheckFields in org.keycloak declared as TokenVerifier.Predicate Modifier and Type Field Description static TokenVerifier.Predicate<JsonWebToken>TokenVerifier. IS_ACTIVECheck for token being neither expired nor used before it gets valid.static TokenVerifier.Predicate<JsonWebToken>TokenVerifier. SUBJECT_EXISTS_CHECKMethods in org.keycloak that return TokenVerifier.Predicate Modifier and Type Method 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 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 inTokenVerifier.verify()method in addition to already set checks.
- 
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontokenFields in org.keycloak.authentication.actiontoken declared as TokenVerifier.Predicate Modifier and Type Field Description static TokenVerifier.Predicate<DefaultActionTokenKey>DefaultActionToken. ACTION_TOKEN_BASIC_CHECKSMethods in org.keycloak.authentication.actiontoken that return TokenVerifier.Predicate Modifier and Type Method Description static TokenVerifier.Predicate<JsonWebToken>TokenUtils. checkThat(BooleanSupplier function, String errorEvent, String errorMessage)Returns a predicate for use inTokenVerifierusing 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 inTokenVerifierusing 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 givenconditionevaluates 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 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 givenconditionevaluates 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.execactionsMethods in org.keycloak.authentication.actiontoken.execactions that return TokenVerifier.Predicate Modifier and Type Method Description TokenVerifier.Predicate<? super ExecuteActionsActionToken>[]ExecuteActionsActionTokenHandler. getVerifiers(ActionTokenContext<ExecuteActionsActionToken> tokenContext)protected TokenVerifier.Predicate<ExecuteActionsActionToken>ExecuteActionsActionTokenHandler. verifyRequiredActions(ActionTokenContext<ExecuteActionsActionToken> tokenContext)
- 
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.idpverifyemailMethods in org.keycloak.authentication.actiontoken.idpverifyemail that return TokenVerifier.Predicate Modifier and Type Method Description TokenVerifier.Predicate<? super IdpVerifyAccountLinkActionToken>[]IdpVerifyAccountLinkActionTokenHandler. getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext)
- 
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.resetcredMethods in org.keycloak.authentication.actiontoken.resetcred that return TokenVerifier.Predicate Modifier and Type Method Description TokenVerifier.Predicate<? super ResetCredentialsActionToken>[]ResetCredentialsActionTokenHandler. getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext)
- 
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.updateemailMethods in org.keycloak.authentication.actiontoken.updateemail that return TokenVerifier.Predicate Modifier and Type Method Description TokenVerifier.Predicate<? super UpdateEmailActionToken>[]UpdateEmailActionTokenHandler. getVerifiers(ActionTokenContext<UpdateEmailActionToken> tokenContext)
- 
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.verifyemailMethods in org.keycloak.authentication.actiontoken.verifyemail that return TokenVerifier.Predicate Modifier and Type Method Description TokenVerifier.Predicate<? super VerifyEmailActionToken>[]VerifyEmailActionTokenHandler. getVerifiers(ActionTokenContext<VerifyEmailActionToken> tokenContext)
- 
Uses of TokenVerifier.Predicate in org.keycloak.protocol.oidcClasses in org.keycloak.protocol.oidc that implement TokenVerifier.Predicate Modifier and Type Class Description static classTokenManager.NotBeforeCheckstatic classTokenManager.TokenRevocationCheckCheck if access token was revoked with OAuth revocation endpoint
- 
Uses of TokenVerifier.Predicate in org.keycloak.services.managersMethods in org.keycloak.services.managers with parameters of type TokenVerifier.Predicate Modifier and Type Method Description static AuthenticationManager.AuthResultAuthenticationManager. 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.resourcesClasses in org.keycloak.services.resources that implement TokenVerifier.Predicate Modifier and Type Class Description static classLoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromTokenThis check verifies that user ID (subject) from the token matches the one from the authentication session.static classLoginActionsServiceChecks.IsActionRequiredVerifies that if authentication session exists and any action is required according to it, then it is the expected one.static classLoginActionsServiceChecks.IsRedirectValidVerifies whether the given redirect URL, when set, is valid for the given client.
 
-