An alias for OAuth#updateRoleConnectionsMetadata. This will be removed in 1.6.0
.
Update an application's role connections metadata.
The metadata records.
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 the currently authenticated user's information.
Note: This does not touch the client's cache in any way.
Get a helper instance that can be used with a specific bearer token.
Get an application's role connection metadata records.
Get the authenticated user's role connection object for an application. This requires the role_connections.write
scope.
The ID of the application.
Refresh an existing access token.
The options for refreshing the token.
Revoke an access token.
The options for revoking the token.
Update an application's role connections metadata.
The metadata records.
Update the authenticated user's role connection object for an application. This requires the role_connections.write
scope.
The ID of the application.
The metadata to update.
Various methods for interacting with oauth.