Package org.keycloak.authorization.admin
Class ResourceServerService
java.lang.Object
org.keycloak.authorization.admin.ResourceServerService
- Author:
- Pedro Igor
-
Constructor Summary
ConstructorDescriptionResourceServerService
(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(boolean newClient) void
delete()
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
findById()
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
update
(ResourceServerRepresentation server)
-
Constructor Details
-
ResourceServerService
public ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
-
Method Details
-
create
-
update
@PUT @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response update(ResourceServerRepresentation server) -
delete
public void delete() -
findById
@GET @Produces("application/json") public jakarta.ws.rs.core.Response findById() -
exportSettings
@Path("/settings") @GET @Produces("application/json") public jakarta.ws.rs.core.Response exportSettings() -
importSettings
@Path("/import") @POST @Consumes("application/json") public jakarta.ws.rs.core.Response importSettings(ResourceServerRepresentation rep) -
getResourceSetResource
-
getScopeResource
-
getPolicyResource
-
getPermissionTypeResource
-