forked from google/clasp
-
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.
Fix oauth2client redirectUri usage (google#177)
This fixes the oauth2client usage warnings ( ``` src/auth.ts(63,22): error TS2341: Property 'redirectUri' is private and only accessible within class 'OAuth2Client'. src/auth.ts(80,18): error TS2341: Property 'redirectUri' is private and only accessible within class 'OAuth2Client'. ``` ) by refactoring authorize functions and moves authorize into the auth module. I've tested this change with the flows of clasp login / clasp login --no-localhost / clasp login --ownkey With this, we'll be down to 0 build warnings! 🎉 - [x] `npm run test` succeeds. - [x] `npm run lint` succeeds. - [x] Appropriate changes to README are included in PR.
- Loading branch information
Showing
2 changed files
with
79 additions
and
90 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