Uses of Class
org.keycloak.representations.JsonWebToken
- 
- 
Uses of JsonWebToken in org.keycloakClasses 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.authentication.actiontokenClasses in org.keycloak.authentication.actiontoken with type parameters of type JsonWebToken Modifier and Type Class Description classAbstractActionTokenHandler<T extends JsonWebToken>classActionTokenContext<T extends JsonWebToken>interfaceActionTokenHandler<T extends JsonWebToken>Handler of the action token.interfaceActionTokenHandlerFactory<T extends JsonWebToken>Subclasses of JsonWebToken in org.keycloak.authentication.actiontoken Modifier and Type Class Description classDefaultActionTokenPart of action token that is intended to be used e.g.Methods in org.keycloak.authentication.actiontoken with type parameters of type JsonWebToken Modifier and Type Method Description 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.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)Methods in org.keycloak.authentication.actiontoken that return types with arguments of type JsonWebToken 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.Constructors in org.keycloak.authentication.actiontoken with parameters of type JsonWebToken Constructor Description ExplainedTokenVerificationException(JsonWebToken token, String errorEvent)ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, String message)ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, String message, Throwable cause)ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, Throwable cause)ExplainedTokenVerificationException(JsonWebToken token, ExplainedVerificationException cause)
- 
Uses of JsonWebToken in org.keycloak.authentication.actiontoken.execactionsSubclasses of JsonWebToken in org.keycloak.authentication.actiontoken.execactions Modifier and Type Class Description classExecuteActionsActionToken
- 
Uses of JsonWebToken in org.keycloak.authentication.actiontoken.idpverifyemailSubclasses of JsonWebToken in org.keycloak.authentication.actiontoken.idpverifyemail Modifier and Type Class Description classIdpVerifyAccountLinkActionTokenRepresentation of a token that represents a time-limited verify e-mail action.
- 
Uses of JsonWebToken in org.keycloak.authentication.actiontoken.resetcredSubclasses of JsonWebToken in org.keycloak.authentication.actiontoken.resetcred Modifier and Type Class Description classResetCredentialsActionTokenRepresentation of a token that represents a time-limited reset credentials action.
- 
Uses of JsonWebToken in org.keycloak.authentication.actiontoken.updateemailSubclasses of JsonWebToken in org.keycloak.authentication.actiontoken.updateemail Modifier and Type Class Description classUpdateEmailActionToken
- 
Uses of JsonWebToken in org.keycloak.authentication.actiontoken.verifyemailSubclasses of JsonWebToken in org.keycloak.authentication.actiontoken.verifyemail Modifier and Type Class Description classVerifyEmailActionTokenRepresentation of a token that represents a time-limited verify e-mail action.
- 
Uses of JsonWebToken in org.keycloak.authorization.client.representationSubclasses of JsonWebToken in org.keycloak.authorization.client.representation Modifier and Type Class Description classTokenIntrospectionResponse
- 
Uses of JsonWebToken in org.keycloak.broker.oidcMethods in org.keycloak.broker.oidc that return JsonWebToken Modifier and Type Method Description protected JsonWebTokenAbstractOAuth2IdentityProvider. generateToken()JsonWebTokenOIDCIdentityProvider. validateToken(String encodedToken)protected JsonWebTokenOIDCIdentityProvider. validateToken(String encodedToken, boolean ignoreAudience)Methods in org.keycloak.broker.oidc with parameters of type JsonWebToken Modifier and Type Method Description protected BrokeredIdentityContextOIDCIdentityProvider. extractIdentity(AccessTokenResponse tokenResponse, String accessToken, JsonWebToken idToken)protected booleanOIDCIdentityProvider. isAuthTimeExpired(JsonWebToken idToken, AuthenticationSessionModel authSession)
- 
Uses of JsonWebToken in org.keycloak.broker.oidc.mappersMethods in org.keycloak.broker.oidc.mappers with parameters of type JsonWebToken Modifier and Type Method Description static ObjectAbstractClaimMapper. getClaimValue(JsonWebToken token, String claim)
- 
Uses of JsonWebToken in org.keycloak.exceptionsMethods 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.modelsSubclasses of JsonWebToken in org.keycloak.models Modifier and Type Class Description classDefaultActionTokenKey
- 
Uses of JsonWebToken in org.keycloak.protocol.oidcMethods in org.keycloak.protocol.oidc with parameters of type JsonWebToken Modifier and Type Method Description booleanTokenManager.NotBeforeCheck. test(JsonWebToken t)booleanTokenManager.TokenRevocationCheck. test(JsonWebToken token)
- 
Uses of JsonWebToken in org.keycloak.protocol.oidc.client.authenticationMethods in org.keycloak.protocol.oidc.client.authentication that return JsonWebToken Modifier and Type Method Description protected JsonWebTokenJWTClientCredentialsProvider. createRequestToken(String clientId, String realmInfoUrl)protected JsonWebTokenJWTClientSecretCredentialsProvider. createRequestToken(String clientId, String realmInfoUrl)
- 
Uses of JsonWebToken in org.keycloak.protocol.oidc.grants.ciba.channelSubclasses of JsonWebToken in org.keycloak.protocol.oidc.grants.ciba.channel Modifier and Type Class Description classCIBAAuthenticationRequestRepresents an authentication request sent by a consumption device (CD).
- 
Uses of JsonWebToken in org.keycloak.representationsSubclasses 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.dockerSubclasses 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.authorizationSubclasses of JsonWebToken in org.keycloak.representations.idm.authorization Modifier and Type Class Description classPermissionTicketToken
- 
Uses of JsonWebToken in org.keycloak.representations.oidcSubclasses of JsonWebToken in org.keycloak.representations.oidc Modifier and Type Class Description classTokenMetadataRepresentation
- 
Uses of JsonWebToken in org.keycloak.services.clientpolicy.contextMethods in org.keycloak.services.clientpolicy.context that return JsonWebToken Modifier and Type Method Description default JsonWebTokenClientCRUDContext. getToken()returnsJsonWebTokenof the token accompanied with the request to register/read/update/unregister clientConstructors in org.keycloak.services.clientpolicy.context with parameters of type JsonWebToken Constructor Description DynamicClientRegisterContext(ClientRegistrationContext context, JsonWebToken token, RealmModel realm)DynamicClientRegisteredContext(ClientRegistrationContext context, ClientModel registeredClient, JsonWebToken token, RealmModel realm)DynamicClientUnregisterContext(KeycloakSession session, ClientModel targetClient, JsonWebToken token, RealmModel realm)DynamicClientUpdateContext(ClientRegistrationContext context, ClientModel proposedClientRepresentation, JsonWebToken token, RealmModel realm)DynamicClientUpdatedContext(KeycloakSession session, ClientModel updatedClient, JsonWebToken token, RealmModel realm)DynamicClientViewContext(KeycloakSession session, ClientModel targetClient, JsonWebToken token, RealmModel realm)
- 
Uses of JsonWebToken in org.keycloak.services.clientregistrationSubclasses of JsonWebToken in org.keycloak.services.clientregistration Modifier and Type Class Description classInitialAccessTokenclassRegistrationAccessTokenMethods in org.keycloak.services.clientregistration that return JsonWebToken Modifier and Type Method Description JsonWebTokenClientRegistrationAuth. getJwt()JsonWebTokenClientRegistrationTokenUtils.TokenVerification. getJwt()Methods in org.keycloak.services.clientregistration with parameters of type JsonWebToken Modifier and Type Method Description static ClientRegistrationTokenUtils.TokenVerificationClientRegistrationTokenUtils.TokenVerification. success(String kid, JsonWebToken jwt)
- 
Uses of JsonWebToken in org.keycloak.services.managersSubclasses of JsonWebToken in org.keycloak.services.managers Modifier and Type Class Description classIdentityCookieToken
- 
Uses of JsonWebToken in org.keycloak.services.resourcesMethods in org.keycloak.services.resources with type parameters of type JsonWebToken Modifier and Type Method Description static <T extends JsonWebToken>
 voidLoginActionsServiceChecks. checkIsClientValid(T token, ActionTokenContext<T> context)Verifies whether the client denoted by client ID in token'siss(issuedFor) field both exists and is enabled.static <T extends JsonWebToken & SingleUseObjectKeyModel>
 voidLoginActionsServiceChecks. checkIsUserValid(T token, ActionTokenContext<T> context)Verifies whether the user given by ID both exists in the current realm.static <T extends JsonWebToken>
 voidLoginActionsServiceChecks. checkNotLoggedInYet(ActionTokenContext<T> context, AuthenticationSessionModel authSessionFromCookie, String authSessionId)Verifies that the authentication session has not yet been converted to user session, in other words that the user has not yet completed authentication and logged in.static <T extends JsonWebToken & SingleUseObjectKeyModel>
 voidLoginActionsServiceChecks. checkTokenWasNotUsedYet(T token, ActionTokenContext<T> context)static <T extends JsonWebToken>
 booleanLoginActionsServiceChecks. doesAuthenticationSessionFromCookieMatchOneFromToken(ActionTokenContext<T> context, AuthenticationSessionModel authSessionFromCookie, String authSessionCompoundIdFromToken)This check verifies that current authentication session is consistent with the one specified in token.protected <T extends JsonWebToken & SingleUseObjectKeyModel>
 javax.ws.rs.core.ResponseLoginActionsService. handleActionToken(String tokenString, String execution, String clientId, String tabId)Methods in org.keycloak.services.resources with parameters of type JsonWebToken Modifier and Type Method Description booleanLoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken. test(JsonWebToken t)booleanLoginActionsServiceChecks.IsActionRequired. test(JsonWebToken t)booleanLoginActionsServiceChecks.IsRedirectValid. test(JsonWebToken t)
- 
Uses of JsonWebToken in org.keycloak.social.gitlabMethods in org.keycloak.social.gitlab with parameters of type JsonWebToken Modifier and Type Method Description protected BrokeredIdentityContextGitLabIdentityProvider. extractIdentity(AccessTokenResponse tokenResponse, String accessToken, JsonWebToken idToken)
- 
Uses of JsonWebToken in org.keycloak.social.googleMethods in org.keycloak.social.google that return JsonWebToken Modifier and Type Method Description protected JsonWebTokenGoogleIdentityProvider. validateToken(String encodedToken, boolean ignoreAudience)
- 
Uses of JsonWebToken in org.keycloak.utilMethods 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)
 
-