Function: denyConsentRequest()
denyConsentRequest(
__namedParameters):Promise<void>
Defined in: auth-core/src/pendingConsent.ts:484
Discards a pending authorization the user declined. An approved request is
left alone, so a stale deny from another tab cannot cancel an approval about
to be redeemed. The consent screen then renders its own "nothing was
connected" state; it never navigates to the client's redirect_uri.
Parameters
| Parameter | Type | Description |
|---|---|---|
__namedParameters | { id: string; store: PendingAuthorizationStore; } | - |
__namedParameters.id | string | The pending authorization's id. |
__namedParameters.store | PendingAuthorizationStore | Persistence for pending authorizations. |
Returns
Promise<void>