读书人

oauth 有关

发布时间: 2012-06-29 15:48:47 作者: rapoo

oauth 相关
1. Ruby OAuth GEM
2. 初识oauth: 为API访问授权提供一个开放的标准
3. A sample Rails OAuth provider that doesn't use oauth_plugin (or acts_as_authenticated) edit
4. OAuth 核心规范 1.0 最终版
5. Ruby OAuth GEM
6. Upgrading from OAuth 1.0 to OAuth 1.0a
7.OAuth签名中常用函数
8.豆瓣API OAuth 认证
9.oauth 邮件列表
10.OAuth Consumer Request 1.0 Draft 1
11.Home => Gliffy Developer Program => REST API => API Request Signing using OAuth
12. OAuth Ruby google group

13. hmac-sha1签名算法:

def escape(value)  CGI.escape(value.to_s).gsub("%7E", '~').gsub("+", "%20")enddef signature(base_string, consumer_secret,token_secret='')  secret="#{escape(consumer_secret)}&#{escape(token_secret)}"  Base64.encode64(HMAC::SHA1.digest(secret,base_string)).chomp.gsub(/\n/,'')end

14.http://wiki.github.com/fdv/typo/

读书人网 >互联网

热点推荐