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 class
TokenVerifier<T extends JsonWebToken>
static interface
TokenVerifier.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_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 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 ofTokenVerifier
from the given string on a JWT of the given class.static <T extends JsonWebToken>
TokenVerifier<T>TokenVerifier. createWithoutSignature(T token)
Creates an instance ofTokenVerifier
for 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 boolean
TokenVerifier.AudienceCheck. test(JsonWebToken t)
boolean
TokenVerifier.IssuedForCheck. test(JsonWebToken jsonWebToken)
boolean
TokenVerifier.RealmUrlCheck. test(JsonWebToken t)
boolean
TokenVerifier.TokenTypeCheck. test(JsonWebToken t)
-
Uses of JsonWebToken in org.keycloak.exceptions
Methods in org.keycloak.exceptions that return JsonWebToken Modifier and Type Method Description JsonWebToken
TokenVerificationException. 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 class
AccessToken
class
AuthorizationResponseToken
class
IDToken
class
LogoutToken
class
RefreshToken
Methods in org.keycloak.representations that return JsonWebToken Modifier and Type Method Description JsonWebToken
JsonWebToken. addAudience(String audience)
JsonWebToken
JsonWebToken. audience(String... audience)
JsonWebToken
JsonWebToken. exp(Long exp)
JsonWebToken
JsonWebToken. expiration(int expiration)
Deprecated.int will overflow with values after 2038.JsonWebToken
JsonWebToken. iat(Long iat)
JsonWebToken
JsonWebToken. id(String id)
JsonWebToken
JsonWebToken. issuedAt(int issuedAt)
Deprecated.int will overflow with values after 2038.JsonWebToken
JsonWebToken. issuedFor(String issuedFor)
JsonWebToken
JsonWebToken. issuedNow()
Set issuedAt to the current timeJsonWebToken
JsonWebToken. issuer(String issuer)
JsonWebToken
JsonWebToken. nbf(Long nbf)
JsonWebToken
JsonWebToken. notBefore(int notBefore)
Deprecated.int will overflow with values after 2038.JsonWebToken
JsonWebToken. subject(String subject)
JsonWebToken
JsonWebToken. type(String type)
-
Uses of JsonWebToken in org.keycloak.representations.docker
Subclasses of JsonWebToken in org.keycloak.representations.docker Modifier and Type Class Description class
DockerResponseToken
* { "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 class
PermissionTicketToken
-
Uses of JsonWebToken in org.keycloak.representations.oidc
Subclasses of JsonWebToken in org.keycloak.representations.oidc Modifier and Type Class Description class
TokenMetadataRepresentation
-
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 String
TokenUtil. jweDirectEncode(Key aesKey, Key hmacKey, JsonWebToken jwt)
-