Xamarin.Auth 使用即将被 Google 弃用的 WebView
Xamarin.Auth uses WebView which is going to get deprecated by Google soon
我正在使用 Xamarin.Auth 和 Google API,我相信它使用 "embedded" 浏览器来发出 OAuth 请求并提供 UI。
但是Google宣布不推荐使用这种身份验证方式:
Starting October 20, 2016, we will prevent new OAuth clients from
using web-views on platforms with a viable alternative, and will phase
in user-facing notices for existing OAuth clients. On April 20, 2017,
we will start blocking OAuth requests using web-views for all OAuth
clients on platforms where viable alternatives exist.
这会影响我吗?
Is this going to affect me?
如果您在服务器端创建的应用程序(凭据)较旧(我认为早于 2016-08 年或更早),则不会
这里有 nativeUI 示例(自定义选项卡和 SafariViewController)
https://github.com/moljac/Xamarin.Auth.Samples.NugetReferences
在提供程序示例解决方案中,我在 2015 年创建了一个项目,该项目仍然适用于 WebViews
我正在使用 Xamarin.Auth 和 Google API,我相信它使用 "embedded" 浏览器来发出 OAuth 请求并提供 UI。
但是Google宣布不推荐使用这种身份验证方式:
Starting October 20, 2016, we will prevent new OAuth clients from using web-views on platforms with a viable alternative, and will phase in user-facing notices for existing OAuth clients. On April 20, 2017, we will start blocking OAuth requests using web-views for all OAuth clients on platforms where viable alternatives exist.
这会影响我吗?
Is this going to affect me?
如果您在服务器端创建的应用程序(凭据)较旧(我认为早于 2016-08 年或更早),则不会
这里有 nativeUI 示例(自定义选项卡和 SafariViewController)
https://github.com/moljac/Xamarin.Auth.Samples.NugetReferences
在提供程序示例解决方案中,我在 2015 年创建了一个项目,该项目仍然适用于 WebViews