Preview environment

typealias RESTPostOAuth2AccessTokenURLEncodedData

external
export type RESTPostOAuth2AccessTokenURLEncodedData = RESTOAuth2TokenOptionalClientCredentials & {  grant_type: 'authorization_code';  code: string;  redirect_uri?: string;};

See also: https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example

Union Members

RESTOAuth2TokenOptionalClientCredentials & { grant_type: 'authorization_code'; code: string; redirect_uri?: string;}