Package io.meeds.oauth2.server.rest
Class OAuthConsentRest
java.lang.Object
io.meeds.oauth2.server.rest.OAuthConsentRest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConsentByUserAndClient(Principal principal, String clientId) voiddeleteConsentsByClient(String clientId) voiddeleteConsentsByUser(Principal principal) getConsents(Principal principal)
-
Constructor Details
-
OAuthConsentRest
public OAuthConsentRest()
-
-
Method Details
-
getConsents
-
deleteConsentsByUser
@DeleteMapping @ResponseStatus(NO_CONTENT) @Secured("users") public void deleteConsentsByUser(Principal principal) -
deleteConsentByUserAndClient
-
deleteConsentsByClient
@DeleteMapping("/{clientId}/all") @ResponseStatus(NO_CONTENT) @Secured("administrators") public void deleteConsentsByClient(@PathVariable("clientId") String clientId)
-