Uses of Interface
org.keycloak.models.ClientSessionContext
-
-
Uses of ClientSessionContext in org.keycloak.authentication
Methods in org.keycloak.authentication that return ClientSessionContext Modifier and Type Method Description ClientSessionContext
AuthenticationProcessor. attachSession()
static ClientSessionContext
AuthenticationProcessor. attachSession(AuthenticationSessionModel authSession, UserSessionModel userSession, KeycloakSession session, RealmModel realm, ClientConnection connection, EventBuilder event)
-
Uses of ClientSessionContext in org.keycloak.protocol
Methods in org.keycloak.protocol with parameters of type ClientSessionContext Modifier and Type Method 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)
-
Uses of ClientSessionContext in org.keycloak.protocol.docker
Methods in org.keycloak.protocol.docker with parameters of type ClientSessionContext Modifier and Type Method Description javax.ws.rs.core.Response
DockerAuthV2Protocol. authenticated(AuthenticationSessionModel authSession, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
-
Uses of ClientSessionContext in org.keycloak.protocol.oidc
Fields in org.keycloak.protocol.oidc declared as ClientSessionContext Modifier and Type Field Description ClientSessionContext
TokenManager.TokenValidation. clientSessionCtx
Methods in org.keycloak.protocol.oidc that return ClientSessionContext Modifier and Type Method Description static ClientSessionContext
TokenManager. attachAuthenticationSession(KeycloakSession session, UserSessionModel userSession, AuthenticationSessionModel authSession)
Constructors in org.keycloak.protocol.oidc with parameters of type ClientSessionContext Constructor Description AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
TokenValidation(UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx, AccessToken newToken)
-
Uses of ClientSessionContext in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints with parameters of type ClientSessionContext Modifier and Type Method Description javax.ws.rs.core.Response
TokenEndpoint. createTokenResponse(UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx, String scopeParam, boolean code, Function<TokenManager.AccessTokenResponseBuilder,ClientPolicyContext> clientPolicyContextGenerator)
-
Uses of ClientSessionContext in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.context
Methods in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.context that return ClientSessionContext Modifier and Type Method Description ClientSessionContext
BackchannelTokenResponseContext. getClientSessionContext()
Constructors in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.context with parameters of type ClientSessionContext Constructor Description BackchannelTokenResponseContext(CIBAAuthenticationRequest parsedRequest, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters, ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
-
Uses of ClientSessionContext in org.keycloak.protocol.oidc.mappers
Methods in org.keycloak.protocol.oidc.mappers with parameters of type ClientSessionContext Modifier and Type Method Description protected void
AbstractOIDCProtocolMapper. setClaim(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AbstractOIDCProtocolMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AcrProtocolMapper. 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
ClaimsParameterTokenMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
protected void
ClaimsParameterWithValueIdTokenMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
protected void
HardcodedClaim. 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
ScriptBasedOIDCProtocolMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
protected void
UserClientRoleMappingMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx)
protected void
UserRealmRoleMappingMapper. setClaim(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx)
protected void
UserSessionNoteMapper. setClaim(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx)
AccessToken
AbstractOIDCProtocolMapper. 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
AllowedWebOriginsProtocolMapper. 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
HardcodedRole. 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
RoleNameMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessTokenResponse
AbstractOIDCProtocolMapper. transformAccessTokenResponse(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessTokenResponse
OIDCAccessTokenResponseMapper. transformAccessTokenResponse(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
AbstractOIDCProtocolMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
AbstractPairwiseSubMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
OIDCIDTokenMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSession)
AccessToken
AbstractOIDCProtocolMapper. 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
UserInfoTokenMapper. transformUserInfoToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
-
Uses of ClientSessionContext in org.keycloak.protocol.saml
Methods in org.keycloak.protocol.saml with parameters of type ClientSessionContext Modifier and Type Method 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)
-
Uses of ClientSessionContext in org.keycloak.protocol.saml.mappers
-
Uses of ClientSessionContext in org.keycloak.services.clientpolicy.context
Methods in org.keycloak.services.clientpolicy.context that return ClientSessionContext Modifier and Type Method Description ClientSessionContext
ImplicitHybridTokenResponse. getClientSessionContext()
ClientSessionContext
ResourceOwnerPasswordCredentialsResponseContext. getClientSessionContext()
ClientSessionContext
TokenResponseContext. getClientSessionContext()
Constructors in org.keycloak.services.clientpolicy.context with parameters of type ClientSessionContext Constructor Description ImplicitHybridTokenResponse(AuthenticationSessionModel authSession, ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
ResourceOwnerPasswordCredentialsResponseContext(javax.ws.rs.core.MultivaluedMap<String,String> params, ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
TokenResponseContext(javax.ws.rs.core.MultivaluedMap<String,String> params, OAuth2CodeParser.ParseResult parseResult, ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
-
Uses of ClientSessionContext in org.keycloak.services.managers
Methods in org.keycloak.services.managers with parameters of type ClientSessionContext Modifier and Type Method Description boolean
UserSessionManager. isOfflineTokenAllowed(ClientSessionContext clientSessionCtx)
static javax.ws.rs.core.Response
AuthenticationManager. redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, 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, HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession, LoginProtocol protocol)
-
Uses of ClientSessionContext in org.keycloak.services.util
Classes in org.keycloak.services.util that implement ClientSessionContext Modifier and Type Class Description class
DefaultClientSessionContext
Not thread safe. -
Uses of ClientSessionContext in org.keycloak.utils
Methods in org.keycloak.utils with parameters of type ClientSessionContext Modifier and Type Method 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.
-