mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
4560fd1b66
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.