且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Google Picker无需登录Google帐户(使用OAuth)

更新时间:2023-12-04 16:25:52

此API方法确实有效(我目前正在使用).请注意,来自Google的身份验证令牌已过期,您可能需要刷新令牌,否则Google选取器在尝试从Google驱动器检索文件列表时将返回401.

This method of the API does work (I use it currently). Just note that the auth token from google expires and you may need to refresh your token otherwise the google picker will return a 401 when trying to retrieve the list of files from google drive.

PickerBuilder.setOAuthToken(string)