Uses of Class
org.keycloak.representations.JsonWebToken
-
-
Uses of JsonWebToken in org.keycloak
Classes in org.keycloak with type parameters of type JsonWebToken Modifier and Type Class Description classTokenVerifier<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 JsonWebToken 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 with type parameters of type JsonWebToken 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<T>TokenVerifier. create(String tokenString, Class<T> clazz)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 JsonWebToken Modifier and Type Method Description booleanTokenVerifier.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 JsonWebToken Modifier and Type Method Description JsonWebTokenTokenVerificationException. getToken()Constructors in org.keycloak.exceptions with parameters of type JsonWebToken Constructor Description TokenNotActiveException(JsonWebToken token)TokenNotActiveException(JsonWebToken token, String message)TokenNotActiveException(JsonWebToken token, String message, Throwable cause)TokenNotActiveException(JsonWebToken token, Throwable cause)TokenSignatureInvalidException(JsonWebToken token)TokenSignatureInvalidException(JsonWebToken token, String message)TokenSignatureInvalidException(JsonWebToken token, String message, Throwable cause)TokenSignatureInvalidException(JsonWebToken token, Throwable cause)TokenVerificationException(JsonWebToken token)TokenVerificationException(JsonWebToken token, String message)TokenVerificationException(JsonWebToken token, String message, Throwable cause)TokenVerificationException(JsonWebToken token, Throwable cause) -
Uses of JsonWebToken in org.keycloak.representations
Subclasses of JsonWebToken in org.keycloak.representations Modifier and Type Class Description classAccessTokenclassAuthorizationResponseTokenclassIDTokenclassLogoutTokenclassRefreshTokenMethods in org.keycloak.representations that return JsonWebToken Modifier and Type Method Description JsonWebTokenJsonWebToken. addAudience(String audience)JsonWebTokenJsonWebToken. audience(String... audience)JsonWebTokenJsonWebToken. exp(Long exp)JsonWebTokenJsonWebToken. expiration(int expiration)Deprecated.int will overflow with values after 2038.JsonWebTokenJsonWebToken. iat(Long iat)JsonWebTokenJsonWebToken. id(String id)JsonWebTokenJsonWebToken. issuedAt(int issuedAt)Deprecated.int will overflow with values after 2038.JsonWebTokenJsonWebToken. issuedFor(String issuedFor)JsonWebTokenJsonWebToken. issuedNow()Set issuedAt to the current timeJsonWebTokenJsonWebToken. issuer(String issuer)JsonWebTokenJsonWebToken. nbf(Long nbf)JsonWebTokenJsonWebToken. notBefore(int notBefore)Deprecated.int will overflow with values after 2038.JsonWebTokenJsonWebToken. subject(String subject)JsonWebTokenJsonWebToken. type(String type) -
Uses of JsonWebToken in org.keycloak.representations.docker
Subclasses of JsonWebToken in org.keycloak.representations.docker Modifier and Type Class Description classDockerResponseToken* { "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.idm.authorization
Subclasses of JsonWebToken in org.keycloak.representations.idm.authorization Modifier and Type Class Description classPermissionTicketToken -
Uses of JsonWebToken in org.keycloak.representations.oidc
Subclasses of JsonWebToken in org.keycloak.representations.oidc Modifier and Type Class Description classTokenMetadataRepresentation -
Uses of JsonWebToken in org.keycloak.util
Methods in org.keycloak.util with type parameters of type JsonWebToken Modifier and Type Method Description static <T extends JsonWebToken>
TTokenUtil. jweDirectVerifyAndDecode(Key aesKey, Key hmacKey, String jweStr, Class<T> expectedClass)Methods in org.keycloak.util with parameters of type JsonWebToken Modifier and Type Method Description static StringTokenUtil. jweDirectEncode(Key aesKey, Key hmacKey, JsonWebToken jwt)
-