在UWP中通过Google帐户登录? [英] Login by google account in UWP?

查看:106
本文介绍了在UWP中通过Google帐户登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在UWP中通过谷歌帐户登录?

Login by google account in UWP?

我们可以在UWP应用程序中实现这一点吗,这些应用程序在XBOX和Windows桌面上运行吗?

Can we implement this as we can do this in UWP apps, which running on XBOX and Windows desktop both?

推荐答案

从Windows方面来看,所有oAuth服务都是相同的(参见https://docs.microsoft.com/en-us/windows/uwp/安全/网络身份验证 - 经纪人),所以这是关于Facebook登录的问题的重复。  https://social.msdn.microsoft.com/Forums/windowsapps/en-US/aa446ca6-5ef7-43df-a393 -af9384721a0a / login-by-facebook-in-uwp?forum = wpdevelop#aa446ca6-5ef7-43df-a393-af9384721a0a

From Windows' side all oAuth services are the same (see https://docs.microsoft.com/en-us/windows/uwp/security/web-authentication-broker ), so this is a duplicate of your question about Facebook login. https://social.msdn.microsoft.com/Forums/windowsapps/en-US/aa446ca6-5ef7-43df-a393-af9384721a0a/login-by-facebook-in-uwp?forum=wpdevelop#aa446ca6-5ef7-43df-a393-af9384721a0a

不同之处在于你如何注册应用程序服务,可以向提供商(Google,Facebook等)查询 

The difference will be in how you sign up the app for the service, which is something to check with the provider (Google, Facebook, etc.) 

Google讨论通过https://developers.google.com/identity注册其服务/ protocols / OAuth2InstalledApp。 UWP应用与iOS基本相同,可以这样注册。

Google discusses registering with their service at https://developers.google.com/identity/protocols/OAuth2InstalledApp . UWP apps work essentially the same as iOS and can be registered as such.


这篇关于在UWP中通过Google帐户登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆