postOauthConsent
postOauthConsent<
ThrowOnError>(options?:Options<PostOauthConsentData,ThrowOnError>):RequestResult<PostOauthConsentResponses,PostOauthConsentErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1861Â
Process OAuth consent
Handles the consent form submission. Approve creates a grant and returns the auth code as JSON when the caller sends Accept: application/json, or as a 302 redirect to redirect_uri otherwise. Deny mirrors the same content negotiation: JSON error body or redirect with error=access_denied.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostOauthConsentResponses, PostOauthConsentErrors, ThrowOnError>
Last updated on