Uses of Class
org.keycloak.representations.AccessToken
Package
Description
-
Uses of AccessToken in org.keycloak
Modifier and TypeMethodDescriptionKeycloakSecurityContext.getToken()
RSATokenVerifier.getToken()
Deprecated.static AccessToken
RSATokenVerifier.verifyToken
(String tokenString, PublicKey publicKey, String realmUrl) Deprecated.static AccessToken
RSATokenVerifier.verifyToken
(String tokenString, PublicKey publicKey, String realmUrl, boolean checkActive, boolean checkTokenType) Deprecated.ModifierConstructorDescriptionAuthorizationContext
(AccessToken authzToken, PolicyEnforcerConfig.PathConfig current) KeycloakSecurityContext
(String tokenString, AccessToken token, String idTokenString, IDToken idToken) -
Uses of AccessToken in org.keycloak.authorization.client
ModifierConstructorDescriptionClientAuthorizationContext
(AccessToken authzToken, PolicyEnforcerConfig.PathConfig current, AuthzClient client) -
Uses of AccessToken in org.keycloak.authorization.client.util
Modifier and TypeMethodDescriptionboolean
TokenCallable.isTokenTimeToLiveSufficient
(AccessToken token) -
Uses of AccessToken in org.keycloak.authorization.common
ModifierConstructorDescriptionKeycloakIdentity
(AccessToken accessToken, KeycloakSession keycloakSession) -
Uses of AccessToken in org.keycloak.authorization.util
Modifier and TypeMethodDescriptionstatic AccessToken
Tokens.getAccessToken
(String accessToken, KeycloakSession keycloakSession) static AccessToken
Tokens.getAccessToken
(KeycloakSession keycloakSession) -
Uses of AccessToken in org.keycloak.protocol.oidc
Modifier and TypeMethodDescriptionTokenManager.checkTokenValidForIntrospection
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder eventBuilder) Checks if the token is valid.TokenManager.createClientAccessToken
(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.AccessTokenResponseBuilder.getAccessToken()
protected AccessToken
TokenManager.initToken
(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session, ClientSessionContext clientSessionCtx, jakarta.ws.rs.core.UriInfo uriInfo) AccessTokenIntrospectionProvider.transformAccessToken
(AccessToken token, UserSessionModel userSession) TokenManager.transformAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformIntrospectionAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformUserInfoAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) protected AccessToken
AccessTokenIntrospectionProvider.verifyAccessToken
(String token, EventBuilder eventBuilder, boolean validateSession) Modifier and TypeMethodDescriptionTokenManager.AccessTokenResponseBuilder.accessToken
(AccessToken accessToken) TokenManager.checkTokenValidForIntrospection
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder eventBuilder) Checks if the token is valid.protected jakarta.ws.rs.core.Response
DefaultTokenExchangeProvider.exchangeClientToClient
(UserModel targetUser, UserSessionModel targetUserSession, AccessToken token, boolean disallowOnHolderOfTokenMismatch) TokenManager.generateUserInfoClaims
(AccessToken userInfo, UserModel userModel) TokenManager.getValidUserSessionIfTokenIsValid
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder eventBuilder) Checks if the token is valid and return a valid user session.static boolean
TokenManager.isUserValid
(KeycloakSession session, RealmModel realm, AccessToken token, UserModel user) static UserModel
TokenManager.lookupUserFromStatelessToken
(KeycloakSession session, RealmModel realm, AccessToken token) Lookup user from the "stateless" token.AccessTokenIntrospectionProvider.transformAccessToken
(AccessToken token, UserSessionModel userSession) TokenManager.transformAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformIntrospectionAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformUserInfoAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) ModifierConstructorDescriptionTokenValidation
(UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx, AccessToken newToken) -
Uses of AccessToken in org.keycloak.protocol.oidc.mappers
Modifier and TypeMethodDescriptionAbstractOIDCProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) NonceBackwardsCompatibleMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenIntrospectionTokenMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) UserInfoTokenMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) Modifier and TypeMethodDescriptionAbstractOIDCProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) NonceBackwardsCompatibleMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenIntrospectionTokenMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) UserInfoTokenMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) -
Uses of AccessToken in org.keycloak.representations
Modifier and TypeMethodDescriptionModifierConstructorDescriptionRefreshToken
(AccessToken token) Deep copies issuer, subject, issuedFor, sessionState from AccessToken. -
Uses of AccessToken in org.keycloak.representations.idm.authorization
Modifier and TypeMethodDescriptionAuthorizationRequest.getRpt()
PolicyEvaluationResponse.getRpt()
Modifier and TypeMethodDescriptionvoid
AuthorizationRequest.setRpt
(AccessToken rpt) void
PolicyEvaluationResponse.setRpt
(AccessToken rpt) ModifierConstructorDescriptionPermissionTicketToken
(List<Permission> permissions, String audience, AccessToken accessToken) -
Uses of AccessToken in org.keycloak.representations.oidc
-
Uses of AccessToken in org.keycloak.services.cors
Modifier and TypeMethodDescriptionCors.allowedOrigins
(AccessToken token) DefaultCors.allowedOrigins
(AccessToken token) -
Uses of AccessToken in org.keycloak.services.managers
ModifierConstructorDescriptionAuth
(RealmModel realm, AccessToken token, UserModel user, ClientModel client, UserSessionModel session, boolean cookie) AuthResult
(UserModel user, UserSessionModel session, AccessToken token, ClientModel client) -
Uses of AccessToken in org.keycloak.services.resources.admin
Modifier and TypeMethodDescriptionClientScopeEvaluateResource.generateExampleAccessToken
(String scopeParam, String userId) Create JSON with payload of example access tokenAdminAuth.getToken()
ModifierConstructorDescriptionAdminAuth
(RealmModel realm, AccessToken token, UserModel user, ClientModel client) -
Uses of AccessToken in org.keycloak.services.util
Modifier and TypeMethodDescriptionstatic void
DPoPUtil.bindToken
(AccessToken token, String thumbprint) static void
DPoPUtil.bindToken
(AccessToken token, DPoP dPoP) static void
UserSessionUtil.checkTokenIssuedAt
(RealmModel realm, AccessToken token, UserSessionModel userSession, EventBuilder event, ClientModel client) static UserSessionModel
UserSessionUtil.findValidSession
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client) static UserSessionModel
UserSessionUtil.findValidSession
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client, OAuth2Error error) static void
DPoPUtil.validateBinding
(AccessToken token, DPoP dPoP) static boolean
MtlsHoKTokenUtil.verifyTokenBindingWithClientCertificate
(AccessToken token, HttpRequest request, KeycloakSession session)