Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
LoginFormsProvider.setAccessRequest(List<ClientScopeModel> clientScopesRequested) |
Modifier and Type | Field and Description |
---|---|
protected List<ClientScopeModel> |
FreeMarkerLoginFormsProvider.clientScopesRequested |
Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
FreeMarkerLoginFormsProvider.setAccessRequest(List<ClientScopeModel> clientScopesRequested) |
Constructor and Description |
---|
OAuthGrantBean(String code,
ClientModel client,
List<ClientScopeModel> clientScopesRequested) |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
MigrationProvider.addOIDCMicroprofileJWTClientScope(RealmModel realm)
Adds the
microprofile-jwt optional client scope to the realm and returns the created scope. |
ClientScopeModel |
MigrationProvider.addOIDCRolesClientScope(RealmModel realm)
Add 'roles' client scope or return it if already exists
|
ClientScopeModel |
MigrationProvider.addOIDCWebOriginsClientScope(RealmModel realm)
Add 'web-origins' client scope or return it if already exists
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClientModel |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
RealmModel.addClientScope(String name) |
ClientScopeModel |
RealmModel.addClientScope(String id,
String name) |
ClientScopeModel |
RealmModel.getClientScopeById(String id) |
ClientScopeModel |
RealmProvider.getClientScopeById(String id,
RealmModel realm) |
default ClientScopeModel |
ClientModel.getDynamicClientScope(String scope)
Returns a
ClientScopeModel associated with this client. |
Modifier and Type | Method and Description |
---|---|
default List<ClientScopeModel> |
RealmModel.getClientScopes()
Deprecated.
Use
getClientScopesStream instead. |
default Set<ClientScopeModel> |
ClientSessionContext.getClientScopes()
Deprecated.
Use
getClientScopesStream instead. |
Map<String,ClientScopeModel> |
ClientModel.getClientScopes(boolean defaultScope,
boolean filterByProtocol)
Return all default scopes (if 'defaultScope' is true) or all optional scopes (if 'defaultScope' is false) linked with this client
|
Stream<ClientScopeModel> |
RealmModel.getClientScopesStream() |
Stream<ClientScopeModel> |
ClientSessionContext.getClientScopesStream()
Returns client scopes as a stream.
|
default List<ClientScopeModel> |
RealmModel.getDefaultClientScopes(boolean defaultScope)
Deprecated.
Use
getDefaultClientScopesStream instead. |
Stream<ClientScopeModel> |
RealmModel.getDefaultClientScopesStream(boolean defaultScope) |
Set<ClientScopeModel> |
UserConsentModel.getGrantedClientScopes() |
Modifier and Type | Method and Description |
---|---|
void |
ClientModel.addClientScope(ClientScopeModel clientScope,
boolean defaultScope)
Add clientScope with this client.
|
void |
RealmModel.addDefaultClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
UserConsentModel.addGrantedClientScope(ClientScopeModel clientScope) |
boolean |
UserConsentModel.isClientScopeGranted(ClientScopeModel clientScope) |
void |
UserProvider.preRemove(ClientScopeModel clientScope) |
void |
ClientModel.removeClientScope(ClientScopeModel clientScope) |
void |
RealmModel.removeDefaultClientScope(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
void |
ClientModel.addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope)
Add clientScopes with this client.
|
Modifier and Type | Field and Description |
---|---|
protected ClientScopeModel |
ClientScopeAdapter.updated |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
RealmAdapter.addClientScope(String name) |
ClientScopeModel |
RealmAdapter.addClientScope(String id,
String name) |
ClientScopeModel |
RealmAdapter.getClientScopeById(String id) |
ClientScopeModel |
RealmCacheSession.getClientScopeById(String id,
RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
Map<String,ClientScopeModel> |
ClientAdapter.getClientScopes(boolean defaultScope,
boolean filterByProtocol) |
Stream<ClientScopeModel> |
RealmAdapter.getClientScopesStream() |
Stream<ClientScopeModel> |
RealmAdapter.getDefaultClientScopesStream(boolean defaultScope) |
Modifier and Type | Method and Description |
---|---|
void |
ClientAdapter.addClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
RealmAdapter.addDefaultClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
UserCacheSession.preRemove(ClientScopeModel clientScope) |
void |
ClientAdapter.removeClientScope(ClientScopeModel clientScope) |
void |
RealmAdapter.removeDefaultClientScope(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
void |
ClientAdapter.addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope) |
Constructor and Description |
---|
CachedClientScope(Long revision,
RealmModel realm,
ClientScopeModel model) |
Modifier and Type | Class and Description |
---|---|
class |
ClientAdapter |
class |
ClientScopeAdapter |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
RealmAdapter.addClientScope(String name) |
ClientScopeModel |
RealmAdapter.addClientScope(String id,
String name) |
ClientScopeModel |
RealmAdapter.getClientScopeById(String id) |
ClientScopeModel |
JpaRealmProvider.getClientScopeById(String id,
RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
Map<String,ClientScopeModel> |
ClientAdapter.getClientScopes(boolean defaultScope,
boolean filterByProtocol) |
Stream<ClientScopeModel> |
RealmAdapter.getClientScopesStream() |
Stream<ClientScopeModel> |
RealmAdapter.getDefaultClientScopesStream(boolean defaultScope) |
Modifier and Type | Method and Description |
---|---|
void |
ClientAdapter.addClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
RealmAdapter.addDefaultClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
JpaUserProvider.preRemove(ClientScopeModel clientScope) |
void |
ClientAdapter.removeClientScope(ClientScopeModel clientScope) |
void |
RealmAdapter.removeDefaultClientScope(ClientScopeModel clientScope) |
static ClientScopeEntity |
ClientScopeAdapter.toClientScopeEntity(ClientScopeModel model,
javax.persistence.EntityManager em) |
Modifier and Type | Method and Description |
---|---|
void |
ClientAdapter.addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientModel<E extends AbstractEntity> |
class |
MapClientAdapter |
Modifier and Type | Method and Description |
---|---|
Map<String,ClientScopeModel> |
MapClientAdapter.getClientScopes(boolean defaultScope,
boolean filterByProtocol) |
Modifier and Type | Method and Description |
---|---|
void |
MapClientAdapter.addClientScope(ClientScopeModel clientScope,
boolean defaultScope)
Client scopes
|
void |
MapClientAdapter.removeClientScope(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractClientModel.addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope) |
Modifier and Type | Method and Description |
---|---|
void |
MapUserProvider.preRemove(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
static ClientScopeModel |
RepresentationToModel.createClientScope(KeycloakSession session,
RealmModel realm,
ClientScopeRepresentation resourceRep) |
static ClientScopeModel |
KeycloakModelUtils.findClientScopeById(RealmModel realm,
ClientModel client,
String clientScopeId)
Lookup clientScope OR client by id.
|
static ClientScopeModel |
KeycloakModelUtils.getClientScopeByName(RealmModel realm,
String clientScopeName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
KeycloakModelUtils.isClientScopeUsed(RealmModel realm,
ClientScopeModel clientScope) |
static ClientScopeRepresentation |
ModelToRepresentation.toRepresentation(ClientScopeModel clientScopeModel) |
static void |
RepresentationToModel.updateClientScope(ClientScopeRepresentation rep,
ClientScopeModel resource) |
Modifier and Type | Method and Description |
---|---|
static ClientScopeModel |
OIDCLoginProtocolFactory.addMicroprofileJWTClientScope(RealmModel newRealm)
Adds the
microprofile-jwt optional client scope to the specified realm. |
static ClientScopeModel |
OIDCLoginProtocolFactory.addRolesClientScope(RealmModel newRealm) |
static ClientScopeModel |
OIDCLoginProtocolFactory.addWebOriginsClientScope(RealmModel newRealm) |
Modifier and Type | Method and Description |
---|---|
static Stream<ClientScopeModel> |
TokenManager.getRequestedClientScopes(String scopeParam,
ClientModel client)
Return client itself + all default client scopes of client + optional client scopes requested by scope parameter
|
Modifier and Type | Method and Description |
---|---|
static Set<RoleModel> |
TokenManager.getAccess(UserModel user,
ClientModel client,
Stream<ClientScopeModel> clientScopes) |
static boolean |
TokenManager.verifyConsentStillAvailable(KeycloakSession session,
UserModel user,
ClientModel client,
Stream<ClientScopeModel> requestedClientScopes) |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
DefaultMigrationProvider.addOIDCMicroprofileJWTClientScope(RealmModel realm) |
ClientScopeModel |
DefaultMigrationProvider.addOIDCRolesClientScope(RealmModel realm) |
ClientScopeModel |
DefaultMigrationProvider.addOIDCWebOriginsClientScope(RealmModel realm) |
Modifier and Type | Field and Description |
---|---|
protected ClientScopeModel |
ClientScopeResource.clientScope |
Constructor and Description |
---|
ClientScopeResource(RealmModel realm,
AdminPermissionEvaluator auth,
ClientScopeModel clientScope,
KeycloakSession session,
AdminEventBuilder adminEvent) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClientPermissionEvaluator.canManage(ClientScopeModel clientScope) |
boolean |
ClientPermissionEvaluator.canView(ClientScopeModel clientScope) |
void |
ClientPermissionEvaluator.requireManage(ClientScopeModel clientScope) |
void |
ClientPermissionEvaluator.requireView(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
Stream<ClientScopeModel> |
DefaultClientSessionContext.getClientScopesStream() |
Modifier and Type | Method and Description |
---|---|
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopes(AuthenticatedClientSessionModel clientSession,
Stream<ClientScopeModel> clientScopes,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
UserStorageManager.preRemove(ClientScopeModel clientScope) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientStorageAdapter
Helper base class for ClientModel implementations for ClientStorageProvider implementations.
|
class |
AbstractReadOnlyClientScopeAdapter |
class |
AbstractReadOnlyClientStorageAdapter |
class |
UnsupportedOperationsClientStorageAdapter
Base helper class.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractReadOnlyClientStorageAdapter.addClientScope(ClientScopeModel clientScope,
boolean defaultScope) |
void |
AbstractReadOnlyClientStorageAdapter.removeClientScope(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractReadOnlyClientStorageAdapter.addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope) |
Modifier and Type | Method and Description |
---|---|
void |
UserFederatedStorageProvider.preRemove(ClientScopeModel clientScope) |
Modifier and Type | Method and Description |
---|---|
void |
JpaUserFederatedStorageProvider.preRemove(ClientScopeModel clientScope) |
Modifier and Type | Class and Description |
---|---|
class |
OpenshiftSAClientAdapter |
Modifier and Type | Method and Description |
---|---|
ClientScopeModel |
OpenshiftSAClientAdapter.getDynamicClientScope(String scope) |
Modifier and Type | Method and Description |
---|---|
Map<String,ClientScopeModel> |
OpenshiftSAClientAdapter.getClientScopes(boolean defaultScope,
boolean filterByProtocol) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.