Package org.keycloak.authorization.admin
Class ScopeService
- java.lang.Object
- 
- org.keycloak.authorization.admin.ScopeService
 
- 
 public class ScopeService extends Object - Author:
- Pedro Igor
 
- 
- 
Constructor SummaryConstructors Constructor Description ScopeService(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(ScopeRepresentation scope)javax.ws.rs.core.Responsedelete(String id)javax.ws.rs.core.Responsefind(String name)javax.ws.rs.core.ResponsefindAll(String id, String name, Integer firstResult, Integer maxResult)javax.ws.rs.core.ResponsefindById(String id)javax.ws.rs.core.ResponsegetPermissions(String id)javax.ws.rs.core.ResponsegetResources(String id)javax.ws.rs.core.Responseupdate(String id, ScopeRepresentation scope)
 
- 
- 
- 
Constructor Detail- 
ScopeServicepublic ScopeService(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) 
 
- 
 - 
Method Detail- 
create@POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response create(ScopeRepresentation scope)
 - 
update@Path("{id}") @PUT @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response update(@PathParam("id") String id, ScopeRepresentation scope)
 - 
delete@Path("{id}") @DELETE public javax.ws.rs.core.Response delete(@PathParam("id") String id)
 - 
findById@Path("{id}") @GET @Produces("application/json") public javax.ws.rs.core.Response findById(@PathParam("id") String id)
 - 
getResources@Path("{id}/resources") @GET @Produces("application/json") public javax.ws.rs.core.Response getResources(@PathParam("id") String id)
 - 
getPermissions@Path("{id}/permissions") @GET @Produces("application/json") public javax.ws.rs.core.Response getPermissions(@PathParam("id") String id)
 - 
find@Path("/search") @GET @Produces("application/json") public javax.ws.rs.core.Response find(@QueryParam("name") String name)
 
- 
 
-