Construct an oauth authorization url.
The options to construct the url with.
Get an access token for the application owner. If the application is owned by a team, this is restricted to identify
& applications.commands.update
.
The options to for the client credentials grant.
Exchange a code for an access token.
The options for exchanging the code.
Get the current OAuth2 application's information.
Get information about the current authorization.
Note: OAuth only. Bots cannot use this.
Get the connections of the currently authenticated user.
Note: Requires the connections
scope when using oauth.
Get the currently authenticated user's guilds. Note these are missing several properties gateway guilds have.
Optional
options: GetCurrentGuildsOptionsThe options for getting the current user's guilds.
Get a helper instance that can be used with a specific bearer token.
Refresh an existing access token.
The options for refreshing the token.
Revoke an access token.
The options for revoking the token.
Static
constructURLConstruct an oauth authorization url.
The options to construct the url with.
Various methods for interacting with oauth.