Class MeConsentsController
H3 (v1.0 DoD §6): self-service consent management at
/api/v1/identity/me/consents. Returns / revokes the caller's own valid
permanent OAuth/OIDC consent grants. Caller id is taken from the access-token
subject; admins manage consents for other users via /users/{id}/consents.
Auth: Bearer with identity:manage or identity:account scope.
[Route("me/consents")]
public class MeConsentsController : IdentityControllerBase
Inheritance
Inherited Members
Methods
Grant(GrantMyConsentRequest)
Grant or extend the caller's permanent consent for an application. Used by native
[HttpPost(null)]
public Task<object?> Grant(GrantMyConsentRequest request)
Revoke(string)
Revoke the caller's permanent consent grant for a single client.
[HttpDelete("{clientId}")]
public Task<object?> Revoke(string clientId)