forked from thislooksfun/snoots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Client.getAuthorizedScopes()
This method allows you to get the currently authorized oAuth scopes. Note that it will return `undefined` in the following cases: - You are using anonymous auth - You have not yet called any methods that required oAuth access The second case is only an issue if you are creating a brand new Client object from a previously obtained refresh token. Client.fromAuthCode will set the scopes, but just creating a new Client will not. Closes thislooksfun#43
- Loading branch information
1 parent
612586e
commit 1cdcac2
Showing
3 changed files
with
78 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters