Interface ScopePermissionsResource
public interface ScopePermissionsResource
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsecreate(ScopePermissionRepresentation representation) default List<ScopePermissionRepresentation>findAll(String id, String name, String resource, String fields, Integer firstResult, Integer maxResult) Search for scope permissions based on given filters.default ScopePermissionRepresentationfindByName(String name) findByName(String name, String fields)
-
Method Details
-
create
@POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response create(ScopePermissionRepresentation representation) -
findById
-
findByName
@Path("/search") @GET @Produces("application/json") ScopePermissionRepresentation findByName(@QueryParam("name") String name, @QueryParam("fields") String fields) -
findByName
-
findAll
@GET @Produces("application/json") List<ScopePermissionRepresentation> findAll(@QueryParam("policyId") String id, @QueryParam("name") String name, @QueryParam("resource") String resource, @QueryParam("fields") String fields, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResult) Search for scope permissions based on given filters.- Parameters:
id- a policy idname- a nameresource- a resourcefields- fields to fetch. This parameter is available since Keycloak server 26.7.0firstResult-maxResult-- Returns:
- a list containing scope permissions.
-
findAll
-