如何使用 Google 帐户登录

发布于 2024-10-05 20:51:58 字数 167 浏览 0 评论 0原文

我正在考虑使用 Google 帐户作为我正在开发的服务的用户验证。这将是一个客户端和服务器。我希望能够在 Android 手机上使用已登录的 Google 帐户,并将其用作我的服务器上的验证。

我在哪里可以找到这方面的信息?

是否可以使用手机上已登录的帐户,还是必须在应用程序中重新登录?

I'm thinking about using Google Accounts as a user verification for a service I'm developing. This will be a client and server. I'm hoping to be able to use the already signed-in Google Account on the Android phone and use that as a verification on my server.

Where can I find information about this?

Is it possible to use the already signed-in account on the phone or do I have to re-sign-in in my application?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

极致的悲 2024-10-12 20:51:58

有一个名为 AccountManager 的类,它的作用类似于用户的注册表在线帐户。我想这就是您正在寻找的。

还有一种名为 Google 联合登录的功能,允许用户使用其 Google 帐户登录。它更像是 OpenID

There's a class called AccountManager which acts like a registry for the users online account. I think this is what you are looking for.

There's also something called Federated Login for Google, which allows users to login using their Google Account. Its more like OpenID

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文