Class PermissionTicketService
java.lang.Object
org.keycloak.authorization.protection.permission.PermissionTicketService
- Author:
 - Pedro Igor
 
- 
Constructor Summary
ConstructorsConstructorDescriptionPermissionTicketService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization)  - 
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsecreate(PermissionTicketRepresentation representation) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsefind(String scopeId, String resourceId, String owner, String requester, Boolean granted, Boolean returnNames, Integer firstResult, Integer maxResult) jakarta.ws.rs.core.ResponsegetPermissionCount(String scopeId, String resourceId, String owner, String requester, Boolean granted, Boolean returnNames) jakarta.ws.rs.core.Responseupdate(PermissionTicketRepresentation representation)  
- 
Constructor Details
- 
PermissionTicketService
public PermissionTicketService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization)  
 - 
 - 
Method Details
- 
create
@POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response create(PermissionTicketRepresentation representation)  - 
update
@PUT @Consumes("application/json") public jakarta.ws.rs.core.Response update(PermissionTicketRepresentation representation)  - 
delete
@Path("{id}") @DELETE @Consumes("application/json") public jakarta.ws.rs.core.Response delete(@PathParam("id") String id)  - 
find
@GET @Produces("application/json") public jakarta.ws.rs.core.Response find(@QueryParam("scopeId") String scopeId, @QueryParam("resourceId") String resourceId, @QueryParam("owner") String owner, @QueryParam("requester") String requester, @QueryParam("granted") Boolean granted, @QueryParam("returnNames") Boolean returnNames, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResult)  - 
getPermissionCount
@Path("/count") @GET @Produces("application/json") public jakarta.ws.rs.core.Response getPermissionCount(@QueryParam("scopeId") String scopeId, @QueryParam("resourceId") String resourceId, @QueryParam("owner") String owner, @QueryParam("requester") String requester, @QueryParam("granted") Boolean granted, @QueryParam("returnNames") Boolean returnNames)  
 -