From 02328a8f14ebe308273867e8cef5710951affa11 Mon Sep 17 00:00:00 2001 From: Matt Griffin Date: Thu, 8 Mar 2012 16:48:45 -0500 Subject: [PATCH] OAuth attributes should include optional OAuth 1.0a keys: oauth_callback and oauth_verifier --- lib/simple_oauth/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_oauth/header.rb b/lib/simple_oauth/header.rb index 5d81a75..a0585bb 100644 --- a/lib/simple_oauth/header.rb +++ b/lib/simple_oauth/header.rb @@ -1,6 +1,6 @@ module SimpleOAuth class Header - ATTRIBUTE_KEYS = [:consumer_key, :nonce, :signature_method, :timestamp, :token, :version] unless defined? ::SimpleOAuth::Header::ATTRIBUTE_KEYS + ATTRIBUTE_KEYS = [:callback, :consumer_key, :nonce, :signature_method, :timestamp, :token, :verifier, :version] unless defined? ::SimpleOAuth::Header::ATTRIBUTE_KEYS def self.default_options {