oauth:Ruby的OAuth实现。 注意官方维护版本现在位于http

时间:2021-04-13 18:30:00
【文件属性】:
文件名称:oauth:Ruby的OAuth实现。 注意官方维护版本现在位于http
文件大小:74KB
文件格式:ZIP
更新时间:2021-04-13 18:30:00
Ruby Ruby 什么 这是用于在Ruby应用程序中实现OAuth客户端和服务器的RubyGem。 请参阅OAuth规范 / 安装 sudo gem install oauth 现在,源代码托管在OAuth GitHub项目 基础 这是一个ruby库,旨在用于创建Ruby Consumer和Service Provider应用程序。 它不是Rails插件,但可以很容易地用作此类Rails插件的基础。 实际上,它已从OAuth Rails插件 /中撤出,现在需要此GEM。 用法演示¶ ↑ 通过向其传递配置哈希值来创建新的使用者实例: @consumer = OAuth :: Consumer . new ( "key" , "secret" , :site => "https://agree2" ) 通过请求令牌开始该过程 @request_token = @consumer .
【文件预览】:
oauth-master
----.gitignore(19B)
----bin()
--------oauth(89B)
----TODO(1KB)
----LICENSE(1KB)
----examples()
--------yql.rb(1KB)
----HISTORY(6KB)
----README.rdoc(2KB)
----lib()
--------oauth()
--------digest()
--------oauth.rb(284B)
----Gemfile(224B)
----oauth.gemspec(6KB)
----Rakefile(1KB)
----test()
--------test_oauth_helper.rb(2KB)
--------test_consumer.rb(6KB)
--------test_signature.rb(676B)
--------test_signature_plain_text.rb(2KB)
--------test_em_http_client.rb(4KB)
--------test_rsa_sha1.rb(4KB)
--------integration()
--------test_request_token.rb(2KB)
--------test_access_token.rb(755B)
--------test_signature_base.rb(843B)
--------cases()
--------test_hmac_sha1.rb(1003B)
--------test_action_controller_request_proxy.rb(5KB)
--------test_net_http_client.rb(17KB)
--------keys()
--------test_rack_request_proxy.rb(2KB)
--------test_token.rb(311B)
--------test_helper.rb(570B)
--------test_net_http_request_proxy.rb(3KB)
--------test_curb_request_proxy.rb(3KB)
--------test_server.rb(1KB)
--------test_typhoeus_request_proxy.rb(3KB)
--------test_em_http_request_proxy.rb(6KB)
----tasks()
--------deployment.rake(1KB)
--------environment.rake(123B)
--------website.rake(585B)
----Gemfile.lock(776B)

网友评论