omniauth-campus 2.8 → 2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-campus/version.rb +1 -1
- data/lib/omniauth/strategies/campus.rb +8 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2825854413480812628aee3a997c8c39cae0bad
|
4
|
+
data.tar.gz: 999e583c67d44640b0e073388a0a680f74fadce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 216c55de5b4443e8eda65288796a9609b84bd3335a3566366dbdc647998cd6fc72ffd0a5876ccd79ac98c9a83b47f43d9faae6b6d33c8ca9f1400de3f134b830
|
7
|
+
data.tar.gz: c038655675dc007d2ae2025dae6cf55585de231dfc183079cec1a00bd51d9764b608bfbc1c8f3c74997fd7c27d0de536d950747cac9045b78dcc87b94fad136e
|
@@ -31,15 +31,17 @@ module OmniAuth
|
|
31
31
|
#:site => 'http://dev-oauth-test.gotpantheon.com/myawesomejson',
|
32
32
|
#:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
|
33
33
|
|
34
|
-
def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}
|
34
|
+
def initialize(app, consumer_key = nil, consumer_secret = nil, options = {})
|
35
35
|
|
36
|
-
|
36
|
+
options = {
|
37
37
|
:site => 'http://dev-oauth-test.gotpantheon.com/myawesomejson',
|
38
|
-
:
|
39
|
-
:
|
40
|
-
:
|
38
|
+
:scheme => :header,
|
39
|
+
:http_method => :post,
|
40
|
+
:request_token_path => "/oauth/request_token.php",
|
41
|
+
:access_token_path => "/oauth/access_token.php",
|
42
|
+
:authorize_url => "/oauth/authorize.php"
|
41
43
|
}
|
42
|
-
super(app, :campus, consumer_key, consumer_secret,
|
44
|
+
super(app, :campus, consumer_key, consumer_secret, options)
|
43
45
|
end
|
44
46
|
|
45
47
|
def request_phase
|