Uses of Class
org.keycloak.representations.JsonWebToken
Packages that use JsonWebToken
Package
Description
-
Uses of JsonWebToken in org.keycloak
Classes in org.keycloak with type parameters of type JsonWebTokenModifier and TypeClassDescriptionclassTokenVerifier<T extends JsonWebToken>static interfaceTokenVerifier.Predicate<T extends JsonWebToken>Functional interface of checks that verify some part of a JWT.Fields in org.keycloak with type parameters of type JsonWebTokenModifier 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 with type parameters of type JsonWebTokenModifier 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<T>Creates an instance ofTokenVerifierfrom the given string on a JWT of the given class.static <T extends JsonWebToken>
TokenVerifier<T>TokenVerifier.createWithoutSignature(T token) Creates an instance ofTokenVerifierfor the given token.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 JsonWebTokenModifier and TypeMethodDescriptionbooleanTokenVerifier.AudienceCheck.test(JsonWebToken t) booleanTokenVerifier.IssuedForCheck.test(JsonWebToken jsonWebToken) booleanTokenVerifier.RealmUrlCheck.test(JsonWebToken t) booleanTokenVerifier.TokenTypeCheck.test(JsonWebToken t) -
Uses of JsonWebToken in org.keycloak.exceptions
Methods in org.keycloak.exceptions that return JsonWebTokenConstructors in org.keycloak.exceptions with parameters of type JsonWebTokenModifierConstructorDescriptionTokenNotActiveException(JsonWebToken token, String message) TokenNotActiveException(JsonWebToken token, String message, Throwable cause) TokenNotActiveException(JsonWebToken token, Throwable cause) TokenSignatureInvalidException(JsonWebToken token, String message) TokenSignatureInvalidException(JsonWebToken token, String message, Throwable cause) TokenSignatureInvalidException(JsonWebToken token, Throwable cause) TokenVerificationException(JsonWebToken token, String message) TokenVerificationException(JsonWebToken token, String message, Throwable cause) TokenVerificationException(JsonWebToken token, Throwable cause) -
Uses of JsonWebToken in org.keycloak.protocol.oidc.client.authentication
Methods in org.keycloak.protocol.oidc.client.authentication that return JsonWebTokenModifier and TypeMethodDescriptionprotected JsonWebTokenJWTClientCredentialsProvider.createRequestToken(String clientId, String realmInfoUrl) protected JsonWebTokenJWTClientSecretCredentialsProvider.createRequestToken(String clientId, String realmInfoUrl) -
Uses of JsonWebToken in org.keycloak.representations
Subclasses of JsonWebToken in org.keycloak.representationsModifier and TypeClassDescriptionclassclassclassclassclassMethods in org.keycloak.representations that return JsonWebTokenModifier and TypeMethodDescriptionJsonWebToken.addAudience(String audience) JsonWebToken.expiration(int expiration) Deprecated.int will overflow with values after 2038.JsonWebToken.issuedAt(int issuedAt) Deprecated.int will overflow with values after 2038.JsonWebToken.issuedNow()Set issuedAt to the current timeJsonWebToken.notBefore(int notBefore) Deprecated.int will overflow with values after 2038. -
Uses of JsonWebToken in org.keycloak.representations.docker
Subclasses of JsonWebToken in org.keycloak.representations.dockerModifier and TypeClassDescriptionclass* { "iss": "auth.docker.com", "sub": "jlhawn", "aud": "registry.docker.com", "exp": 1415387315, "nbf": 1415387015, "iat": 1415387015, "jti": "tYJCO1c6cnyy7kAn0c7rKPgbV1H1bFws", "access": [ { "type": "repository", "name": "samalba/my-app", "actions": [ "push" ] } ] } -
Uses of JsonWebToken in org.keycloak.representations.dpop
Subclasses of JsonWebToken in org.keycloak.representations.dpop -
Uses of JsonWebToken in org.keycloak.representations.idm.authorization
Subclasses of JsonWebToken in org.keycloak.representations.idm.authorization -
Uses of JsonWebToken in org.keycloak.representations.oidc
Subclasses of JsonWebToken in org.keycloak.representations.oidc -
Uses of JsonWebToken in org.keycloak.util
Methods in org.keycloak.util with type parameters of type JsonWebTokenModifier and TypeMethodDescriptionstatic <T extends JsonWebToken>
TTokenUtil.jweDirectVerifyAndDecode(Key aesKey, Key hmacKey, String jweStr, Class<T> expectedClass) Methods in org.keycloak.util with parameters of type JsonWebTokenModifier and TypeMethodDescriptionstatic StringTokenUtil.jweDirectEncode(Key aesKey, Key hmacKey, JsonWebToken jwt)