简体   繁体   English

Google Cloud Endpoints用户令牌认证

[英]Google Cloud Endpoints User Token authentication

I´m currently designing a REST Api that will run on Google Cloud Endpoints and will be consumed from Web and Android apps. 我目前正在设计一个REST Api,它将在Google Cloud Endpoints上运行,并将通过Web和Android应用程序使用。 There shouldn't be a need for a google account fot the authentication. 不需要用于身份验证的Google帐户。 I'm wondering how to do the user auth for it. 我想知道如何对其进行用户身份验证。

I´ve read this post: http://blog.auth0.com/2014/01/07/angularjs-authentication-with-cookies-vs-token/ 我已经阅读了这篇文章: http : //blog.auth0.com/2014/01/07/angularjs-authentication-with-cookies-vs-token/

How to implement it on GAE? 如何在GAE上实施?

There shouldn't be a need for a google account for the authentication. 不需要使用Google帐户进行身份验证。

Depends what you want to use for authentication. 取决于您要用于身份验证的内容。 Here's a vague explanation on how to do it with Facebook. 这是关于如何使用Facebook 的模糊解释

Here's an answer that says it can't be done without a Google account. 这是一个答案 ,说没有Google帐户是无法完成的。 Here are the docs on how to do it with a Google account. 以下是有关如何使用Google帐户进行操作的文档

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

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