- Preparing search index...
- The search index is not available
erine
Constructors
constructor
- new OAuthHelper(manager, token): OAuthHelper
-
Properties
Private
#private
#private: any
Methods
getApplication
- getApplication(): Promise<Application>
-
getCurrentAuthorizationInformation
- getCurrentAuthorizationInformation(): Promise<AuthorizationInformation>
-
getCurrentConnections
- getCurrentConnections(): Promise<Connection[]>
-
getCurrentGuildMember
- getCurrentGuildMember(guild): Promise<Member>
-
Returns Promise<Member>
getCurrentGuilds
- getCurrentGuilds(): Promise<OAuthGuild[]>
-
getCurrentUser
- getCurrentUser(): Promise<ExtendedUser>
-
revokeToken
- revokeToken(options): Promise<void>
-
Returns Promise<void>
updateRoleConnection
- updateRoleConnection(applicationID, data): Promise<RoleConnection>
-
Static
constructURL
- constructURL(options): string
-
Returns string
A helper to make using authenticated oauth requests without needing a new client instance.