Package io.jans.as.client.uma
Interface UmaPermissionService
public interface UmaPermissionService
The endpoint at which the host registers permissions that it anticipates a
requester will shortly be asking for from the AM. This AM's endpoint is part
of resource registration API.
In response to receiving an access request accompanied by an RPT that is invalid or has insufficient authorization data, the host SHOULD register a permission with the AS that would be sufficient for the type of access sought. The AS returns a permission ticket for the host to give to the requester in its response.
-
Method Summary
Modifier and TypeMethodDescriptionio.jans.as.model.uma.PermissionTicket
registerPermission
(String authorization, io.jans.as.model.uma.UmaPermissionList permissions)
-
Method Details
-
registerPermission
@POST @Consumes("application/json") @Produces("application/json") io.jans.as.model.uma.PermissionTicket registerPermission(@HeaderParam("Authorization") String authorization, io.jans.as.model.uma.UmaPermissionList permissions)
-