Uses of Interface
org.keycloak.TokenVerifier.Predicate
Packages that use TokenVerifier.Predicate
Package
Description
-
Uses of TokenVerifier.Predicate in org.keycloak
Classes in org.keycloak that implement TokenVerifier.PredicateModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classFields in org.keycloak declared as TokenVerifier.PredicateModifier and TypeFieldDescriptionstatic final TokenVerifier.Predicate<JsonWebToken>TokenVerifier.IS_ACTIVECheck for token being neither expired nor used before it gets valid.static final TokenVerifier.Predicate<JsonWebToken>TokenVerifier.SUBJECT_EXISTS_CHECKMethods in org.keycloak that return TokenVerifier.PredicateModifier and TypeMethodDescriptionstatic <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.PredicateModifier and TypeMethodDescriptionstatic <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.final 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.actiontoken
Fields in org.keycloak.authentication.actiontoken declared as TokenVerifier.PredicateModifier and TypeFieldDescriptionstatic final TokenVerifier.Predicate<DefaultActionTokenKey>DefaultActionToken.ACTION_TOKEN_BASIC_CHECKSMethods in org.keycloak.authentication.actiontoken that return TokenVerifier.PredicateModifier and TypeMethodDescriptionstatic 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>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.PredicateModifier and TypeMethodDescriptionstatic <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.execactions
Methods in org.keycloak.authentication.actiontoken.execactions that return TokenVerifier.PredicateModifier and TypeMethodDescriptionTokenVerifier.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.idpverifyemail
Methods in org.keycloak.authentication.actiontoken.idpverifyemail that return TokenVerifier.PredicateModifier and TypeMethodDescriptionIdpVerifyAccountLinkActionTokenHandler.getVerifiers(ActionTokenContext<IdpVerifyAccountLinkActionToken> tokenContext) -
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.inviteorg
Methods in org.keycloak.authentication.actiontoken.inviteorg that return TokenVerifier.PredicateModifier and TypeMethodDescriptionTokenVerifier.Predicate<? super InviteOrgActionToken>[]InviteOrgActionTokenHandler.getVerifiers(ActionTokenContext<InviteOrgActionToken> tokenContext) -
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.resetcred
Methods in org.keycloak.authentication.actiontoken.resetcred that return TokenVerifier.PredicateModifier and TypeMethodDescriptionResetCredentialsActionTokenHandler.getVerifiers(ActionTokenContext<ResetCredentialsActionToken> tokenContext) -
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.updateemail
Methods in org.keycloak.authentication.actiontoken.updateemail that return TokenVerifier.PredicateModifier and TypeMethodDescriptionTokenVerifier.Predicate<? super UpdateEmailActionToken>[]UpdateEmailActionTokenHandler.getVerifiers(ActionTokenContext<UpdateEmailActionToken> tokenContext) -
Uses of TokenVerifier.Predicate in org.keycloak.authentication.actiontoken.verifyemail
Methods in org.keycloak.authentication.actiontoken.verifyemail that return TokenVerifier.PredicateModifier and TypeMethodDescriptionTokenVerifier.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.PredicateModifier and TypeClassDescriptionstatic classstatic classCheck if access token was revoked with OAuth revocation endpoint -
Uses of TokenVerifier.Predicate in org.keycloak.services.resources
Classes in org.keycloak.services.resources that implement TokenVerifier.PredicateModifier and TypeClassDescriptionstatic classThis check verifies that user ID (subject) from the token matches the one from the authentication session.static classVerifies that if authentication session exists and any action is required according to it, then it is the expected one.static classVerifies whether the given redirect URL, when set, is valid for the given client.