Class ClientScopesResource
java.lang.Object
org.keycloak.services.resources.admin.ClientScopesResource
Base resource class for managing a realm's client scopes.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final org.jboss.logging.Loggerprotected final RealmModelprotected final KeycloakSession
- 
Constructor SummaryConstructorsConstructorDescriptionClientScopesResource(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) 
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseCreate a new client scope Client Scope's name must be unique!getClientScope(String id) Base path for managing a specific client scope.Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm
- 
Field Details- 
loggerprotected static final org.jboss.logging.Logger logger
- 
realm
- 
session
 
- 
- 
Constructor Details- 
ClientScopesResourcepublic ClientScopesResource(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) 
 
- 
- 
Method Details- 
getClientScopesGet client scopes belonging to the realm Returns a list of client scopes belonging to the realm
- 
createClientScope@POST @Consumes("application/json") public jakarta.ws.rs.core.Response createClientScope(ClientScopeRepresentation rep) Create a new client scope Client Scope's name must be unique!- Parameters:
- rep-
- Returns:
 
- 
getClientScopeBase path for managing a specific client scope.- Parameters:
- id- id of client scope (not name)
- Returns:
 
 
-