简体   繁体   English

推出适用于Android应用的用户身份验证系统

[英]Rolling a user authentication system for Android app

I'm a bit confused on how I can implement a user system into my application. 我对如何在应用程序中实现用户系统感到困惑。

For a small overview, the mobile application needs to allow users to login or register, follow other users, and favorite/like items. 对于较小的概述,移动应用程序需要允许用户登录或注册,关注其他用户以及喜欢/喜欢的项目。

I've checkout out the documentation on Google Cloud Platform for implementing User Auth: 我已经签出了Google Cloud Platform上用于实施用户身份验证的文档:

I've used Parse in the past, and would expect the Firebase User Auth system to offer a similar experience, however due to Firebase conflicts with App Engine, that route is a no-go. 我过去曾经使用过Parse,并且希望Firebase用户身份验证系统能够提供类似的体验,但是由于Firebase与App Engine发生冲突,因此该路由是不可行的。

I understand there is also the User API, which can be used for things like restricting Cloud Endpoints calls to logged in users. 我了解还有User API,可用于将Cloud Endpoints调用限制为登录用户之类的事情。

How can I roll a user auth system for my application? 如何为我的应用程序推出用户身份验证系统? The best solution that comes to mind would be to just store user emails and passwords in Google Cloud Datastore, and check if the combination exists when a user logs in. However, I'm fairly unfamiliar with creating user systems and this seems like it would come with some sort of security issues. 想到的最好的解决方案是仅将用户电子邮件和密码存储在Google Cloud Datastore中,并在用户登录时检查该组合是否存在。但是,我对创建用户系统并不熟悉,而且看起来带有某种安全问题。

you can use Firebase Authentication with Google App Engine. 您可以将Firebase身份验证与Google App Engine一起使用。 Your information that you have to use manual scaling instance is not correct. 您必须使用手动缩放实例的信息不正确。 This was a bug and were fixed. 这是一个错误,已修复。 Please see the following post for more informations 请参阅以下帖子以获取更多信息

Verify Firebase Token at Google App Engine 在Google App Engine上验证Firebase令牌

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM