Method GrantMyConsentAsync(string, IEnumerable<string>, CancellationToken)
Grant the caller's permanent consent for an application. Used by native consent UIs
(e.g. the BFF Razor page) after the user approves a consent_required dialog.
The user id is taken from the access-token subject; the request body must not include one.
public Task<JsonElement> GrantMyConsentAsync(string clientId, IEnumerable<string> scopes, CancellationToken ct = default)