RPCAuthorizeArgs
Index
Properties
client_id
OAuth2 application id
optionalcode_challenge
PKCE code challenge
optionalcode_challenge_method
PKCE code challenge method
optionalnonce
Nonce to include in the authorization request
optionalprompt
How to handle existing authorizations
optionalresponse_type
OAuth2 response type; defaults to code (token is not supported)
optionalscope
Scopes to authorize, as a space-separated string or an array
optionalscopes
Legacy alias for scope; takes precedence over scope if both are set
optionalstate
OAuth2 state value
optionalusername
username to create a guest account with if the user does not have Discord
https://discord.com/developers/docs/topics/rpc#authorize-authorize-argument-structure