Skip to main content
 首页 » 编程设计

python之Google 应用程序引擎,python : Google, Facebook,Twitter,OpenID 帐户

2025年05月04日7zhenyulu

有谁知道是否有支持 Google、Facebook、Twitter 和 OpenID 帐户的 Django-SocialAuth 的替代品。

我更喜欢 webapp 版本而不是 Django。

或者,如果您曾经做过一次,您介意分享一下吗?

万分感谢。

请您参考如下方法:

尝试查看 http://code.google.com/p/gaema/

来自gaema的介绍,

gaema is a library that provides various authentication systems for Google App Engine. It is basically the tornado.auth module extracted to work on App Engine and independently of any framework.

It supports login using:

  • OpenId
  • OAuth
  • Google Accounts
  • Facebook
  • FriendFeed Twitter

You can use one, all or a mix of these auth methods. This is done with minimal overhead: gaema is small and doesn't have any dependencies, thanks to the awesome work done by the Tornado crew.

gaema only authenticates an user, and doesn't provide persistence such as sessions or secure cookies to keep the user logged in. Because each framework do these things in a different way, it is up to the framework to implement these mechanisms.

You can get gaema from http://pypi.python.org/pypi/gaema.