forked from moodle/moodle
-
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.
MDL-29857 - google apis: Convert to OAuth 2.0
Updated the various plugins to use OAuth 2.0 for authentication against google apis. Google are phasing out AuthSub and pushing OAuth as the replacement. This changes repository_googledocs, repository_picasa, portfolio_googledocs and portfolio_picasa The token for requests is now stored in session rather than a user prefence and it persists less but doesn't bother the user more than necessary. The google docs portfolio plugin is converted to use resumable upload API as this appears to be what Google have replaced this with. Unfortunately unlike authsub OAuth will require some setup by admins, this is linked as a docs page.
- Loading branch information
1 parent
469fb5d
commit 4560fd1
Showing
15 changed files
with
417 additions
and
617 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.