OAuth 2.0 教程? [英] OAuth 2.0 Tutorial?

查看:56
本文介绍了OAuth 2.0 教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用 Twisted 编写 REST 网络服务,我想使用 OAuth 2.0 进行授权.是否有教程可以帮助我编写 OAuth 服务器而无需阅读整个规范?我知道它在草稿中,但即使是 Facebook 也在使用它.

I'm writing a REST web service on twisted and I want to use OAuth 2.0 for authorization. Is there a tutorial out there to help me write the OAuth server without having to read the entire spec? I know it's in draft, but even Facebook is using it.

推荐答案

OAuth 最终变得如此简单,真的不需要库.它归结为使用 HTTPS 并传递草案中指定的正确 POST 参数:http://tools.ietf.org/html/draft-ietf-oauth-v2-10

OAuth ends up being so simple, there's really no need for a library. It boils down to using HTTPS and passing the correct POST parameters as specified in the draft: http://tools.ietf.org/html/draft-ietf-oauth-v2-10

这篇关于OAuth 2.0 教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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