Modifier and Type | Method and Description |
---|---|
ClientSessionContext |
AuthenticationProcessor.attachSession() |
static ClientSessionContext |
AuthenticationProcessor.attachSession(AuthenticationSessionModel authSession,
UserSessionModel userSession,
KeycloakSession session,
RealmModel realm,
ClientConnection connection,
EventBuilder event) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
LoginProtocol.authenticated(AuthenticationSessionModel authSession,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
static Stream<Map.Entry<ProtocolMapperModel,ProtocolMapper>> |
ProtocolMapperUtils.getSortedProtocolMappers(KeycloakSession session,
ClientSessionContext ctx) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
DockerAuthV2Protocol.authenticated(AuthenticationSessionModel authSession,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
Modifier and Type | Field and Description |
---|---|
ClientSessionContext |
TokenManager.TokenValidation.clientSessionCtx |
Modifier and Type | Method and Description |
---|---|
static ClientSessionContext |
TokenManager.attachAuthenticationSession(KeycloakSession session,
UserSessionModel userSession,
AuthenticationSessionModel authSession) |
Constructor and Description |
---|
AccessTokenResponseBuilder(RealmModel realm,
ClientModel client,
EventBuilder event,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
TokenValidation(UserModel user,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx,
AccessToken newToken) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
TokenEndpoint.createTokenResponse(UserModel user,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx,
String scopeParam,
boolean code) |
Modifier and Type | Method and Description |
---|---|
protected void |
UserSessionNoteMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
ScriptBasedOIDCProtocolMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
HardcodedClaim.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
AbstractOIDCProtocolMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx)
Intended to be overridden in
ProtocolMapper implementations to add claims to an token. |
protected void |
UserRealmRoleMappingMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession session,
ClientSessionContext clientSessionCtx) |
protected void |
UserClientRoleMappingMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession session,
ClientSessionContext clientSessionCtx) |
protected void |
ScriptBasedOIDCProtocolMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
ClaimsParameterTokenMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
AudienceProtocolMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
AbstractOIDCProtocolMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx)
Intended to be overridden in
ProtocolMapper implementations to add claims to an token. |
AccessToken |
RoleNameMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
OIDCAccessTokenMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
HardcodedRole.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AudienceResolveProtocolMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AllowedWebOriginsProtocolMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AbstractPairwiseSubMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AbstractOIDCProtocolMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessTokenResponse |
OIDCAccessTokenResponseMapper.transformAccessTokenResponse(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessTokenResponse |
AbstractOIDCProtocolMapper.transformAccessTokenResponse(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
IDToken |
OIDCIDTokenMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSession) |
IDToken |
AbstractPairwiseSubMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
IDToken |
AbstractOIDCProtocolMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
UserInfoTokenMapper.transformUserInfoToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AbstractPairwiseSubMapper.transformUserInfoToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
AbstractOIDCProtocolMapper.transformUserInfoToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
SamlProtocol.authenticated(AuthenticationSessionModel authSession,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
void |
SamlProtocol.populateRoles(SamlProtocol.ProtocolMapperProcessor<SAMLRoleListMapper> roleListMapper,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx,
AttributeStatementType existingAttributeStatement) |
ResponseType |
SamlProtocol.transformLoginResponse(List<SamlProtocol.ProtocolMapperProcessor<SAMLLoginResponseMapper>> mappers,
ResponseType response,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserSessionManager.isOfflineTokenAllowed(ClientSessionContext clientSessionCtx) |
static javax.ws.rs.core.Response |
AuthenticationManager.redirectAfterSuccessfulFlow(KeycloakSession session,
RealmModel realm,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
EventBuilder event,
AuthenticationSessionModel authSession) |
static javax.ws.rs.core.Response |
AuthenticationManager.redirectAfterSuccessfulFlow(KeycloakSession session,
RealmModel realm,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
EventBuilder event,
AuthenticationSessionModel authSession,
LoginProtocol protocol) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultClientSessionContext
Not thread safe.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,AccessToken.Access> |
RoleResolveUtil.getAllResolvedClientRoles(KeycloakSession session,
ClientSessionContext clientSessionCtx)
Object (but can be empty map) containing all the user's client roles of all clients.
|
static AccessToken.Access |
RoleResolveUtil.getResolvedClientRoles(KeycloakSession session,
ClientSessionContext clientSessionCtx,
String clientId,
boolean createIfMissing)
Object (possibly null) containing all the user's client roles of client specified by clientId.
|
static AccessToken.Access |
RoleResolveUtil.getResolvedRealmRoles(KeycloakSession session,
ClientSessionContext clientSessionCtx,
boolean createIfMissing)
Object (possibly null) containing all the user's realm roles.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.