科尔多瓦-oauth-google-services
使用 Google Play 服务为本地登录用户获取 Oauth2 令牌的cordova 插件,不需要额外的用户身份验证。 然后可以使用此 Oauth2 令牌来授权 Google Oauth2 REST API。
此插件在较旧的 Android 设备(2.2 版之前)或 Google Play 服务不可用的设备上将失败。 在这种情况下,用户可以使用 HTTP 手动回退到 Oauth2 令牌请求。
依赖关系
安装
使用以下命令安装此插件:
cordova plugin add https://github.com/bleathem/cordova-oauth-google-services.git
使用以下命令删除此插件:
cordova plugin remove ca.bleathem.plugin.OauthGoogleS
评论0
最新资源