Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
UserSessionProvider.createClientSession(RealmModel realm,
ClientModel client,
UserSessionModel userSession) |
AuthenticatedClientSessionModel |
UserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession)
Will automatically attach newly created offline client session to the offlineUserSession
|
default AuthenticatedClientSessionModel |
UserSessionModel.getAuthenticatedClientSessionByClient(String clientUUID)
Returns a client session for the given client UUID.
|
AuthenticatedClientSessionModel |
ClientSessionContext.getClientSession() |
AuthenticatedClientSessionModel |
UserSessionProvider.getClientSession(UserSessionModel userSession,
ClientModel client,
UUID clientSessionId,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
UserSessionModel.getAuthenticatedClientSessions()
Returns map where key is ID of the client (its UUID) and value is ID respective
AuthenticatedClientSessionModel object. |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
UserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession)
Will automatically attach newly created offline client session to the offlineUserSession
|
Modifier and Type | Method and Description |
---|---|
void |
JpaUserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
Modifier and Type | Class and Description |
---|---|
class |
PersistentAuthenticatedClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
PersistentUserSessionAdapter.getAuthenticatedClientSessions() |
Modifier and Type | Method and Description |
---|---|
void |
UserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
void |
DisabledUserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
Constructor and Description |
---|
PersistentAuthenticatedClientSessionAdapter(AuthenticatedClientSessionModel clientSession) |
Constructor and Description |
---|
PersistentUserSessionAdapter(KeycloakSession session,
PersistentUserSessionModel model,
RealmModel realm,
String userId,
Map<String,AuthenticatedClientSessionModel> clientSessions) |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatedClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createClientSession(RealmModel realm,
ClientModel client,
UserSessionModel userSession) |
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
AuthenticatedClientSessionModel |
UserSessionAdapter.getAuthenticatedClientSessionByClient(String clientUUID) |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
UserSessionAdapter.getAuthenticatedClientSessions() |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
Modifier and Type | Method and Description |
---|---|
void |
LoginProtocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
LoginProtocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
void |
DockerAuthV2Protocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
DockerAuthV2Protocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
DockerResponseToken |
DockerAuthV2AttributeMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
DockerResponseToken |
AllowAllDockerProtocolMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
void |
OIDCLoginProtocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
static void |
TokenManager.dettachClientSession(UserSessionProvider sessions,
RealmModel realm,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
OIDCLoginProtocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
OAuth2CodeParser.ParseResult.getClientSession() |
Modifier and Type | Method and Description |
---|---|
static String |
OAuth2CodeParser.persistCode(KeycloakSession session,
AuthenticatedClientSessionModel clientSession,
OAuth2Code codeData)
Will persist the code to the cache and return the object with the codeData and code correctly set
|
Modifier and Type | Method and Description |
---|---|
static AuthenticatedClientSessionModel |
SamlSessionUtils.getClientSession(KeycloakSession session,
RealmModel realm,
String sessionIndex) |
Modifier and Type | Method and Description |
---|---|
default LogoutRequestType |
SamlAuthenticationPreprocessor.beforeProcessingLogoutRequest(LogoutRequestType logoutRequest,
UserSessionModel authSession,
AuthenticatedClientSessionModel clientSession)
Called before a logout request is processed.
|
default LogoutRequestType |
SamlAuthenticationPreprocessor.beforeSendingLogoutRequest(LogoutRequestType logoutRequest,
UserSessionModel authSession,
AuthenticatedClientSessionModel clientSession)
Called before a logout request is sent.
|
default StatusResponseType |
SamlAuthenticationPreprocessor.beforeSendingResponse(StatusResponseType statusResponse,
AuthenticatedClientSessionModel clientSession)
Called before a response is sent back to the client.
|
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
Auth.getClientSession() |
Modifier and Type | Method and Description |
---|---|
void |
UserSessionManager.createOrUpdateOfflineSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel userSession) |
static boolean |
AuthenticationManager.isSSOAuthentication(AuthenticatedClientSessionModel clientSession) |
boolean |
ResourceAdminManager.logoutClientSession(RealmModel realm,
ClientModel resource,
AuthenticatedClientSessionModel clientSession) |
void |
Auth.setClientSession(AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResourceAdminManager.logoutClientSessions(RealmModel realm,
ClientModel resource,
List<AuthenticatedClientSessionModel> clientSessions) |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
DefaultClientSessionContext.getClientSession() |
Modifier and Type | Method and Description |
---|---|
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopeIds(AuthenticatedClientSessionModel clientSession,
Set<String> clientScopeIds,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopes(AuthenticatedClientSessionModel clientSession,
Set<ClientScopeModel> clientScopes,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndScopeParameter(AuthenticatedClientSessionModel clientSession,
String scopeParam,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionScopeParameter(AuthenticatedClientSessionModel clientSession,
KeycloakSession session)
Useful if we want to "re-compute" client scopes based on the scope parameter
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.