Class ClientScopeResource
- java.lang.Object
-
- org.keycloak.services.resources.admin.ClientScopeResource
-
public class ClientScopeResource extends Object
Base resource class for managing one particular client of a realm.- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected org.keycloak.models.ClientScopeModelclientScopeprotected static org.jboss.logging.Loggerloggerprotected org.keycloak.models.RealmModelrealmprotected org.keycloak.models.KeycloakSessionsession
-
Constructor Summary
Constructors Constructor Description ClientScopeResource(org.keycloak.models.RealmModel realm, AdminPermissionEvaluator auth, org.keycloak.models.ClientScopeModel clientScope, org.keycloak.models.KeycloakSession session, AdminEventBuilder adminEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedeleteClientScope()Delete the client scopeorg.keycloak.representations.idm.ClientScopeRepresentationgetClientScope()Get representation of the client scopeProtocolMappersResourcegetProtocolMappers()ScopeMappedResourcegetScopeMappedResource()Base path for managing the role scope mappings for the client scopejavax.ws.rs.core.Responseupdate(org.keycloak.representations.idm.ClientScopeRepresentation rep)Update the client scope
-
-
-
Constructor Detail
-
ClientScopeResource
public ClientScopeResource(org.keycloak.models.RealmModel realm, AdminPermissionEvaluator auth, org.keycloak.models.ClientScopeModel clientScope, org.keycloak.models.KeycloakSession session, AdminEventBuilder adminEvent)
-
-
Method Detail
-
getProtocolMappers
@Path("protocol-mappers") public ProtocolMappersResource getProtocolMappers()
-
getScopeMappedResource
@Path("scope-mappings") public ScopeMappedResource getScopeMappedResource()Base path for managing the role scope mappings for the client scope- Returns:
-
update
@PUT @Consumes("application/json") public javax.ws.rs.core.Response update(org.keycloak.representations.idm.ClientScopeRepresentation rep)Update the client scope- Parameters:
rep-- Returns:
-
getClientScope
@GET @Produces("application/json") public org.keycloak.representations.idm.ClientScopeRepresentation getClientScope()Get representation of the client scope- Returns:
-
deleteClientScope
@DELETE public javax.ws.rs.core.Response deleteClientScope()
Delete the client scope
-
-