Namespace: Oauth
Interfaces
Functions
refresh
▸ refresh(options
): Promise
<AccessTokenRespone
>
Parameters
Name | Type |
---|---|
options |
CodeGrantOptions |
Returns
token
▸ token(options
): Promise
<AccessTokenRespone
>
Parameters
Name | Type |
---|---|
options |
CodeGrantOptions |
Returns
user
▸ user(options
): Promise
<object
[]>
Parameters
Name | Type |
---|---|
options |
TokenOptions |
Returns
Promise
<object
[]>
guilds
▸ guilds(options
): Promise
<object
[]>
Parameters
Name | Type |
---|---|
options |
TokenOptions |
Returns
Promise
<object
[]>