omni_auth_passaporte_web 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -20,7 +20,8 @@ module OmniAuth
|
|
20
20
|
:request_token_path => "/sso/initiate",
|
21
21
|
:authorize_path => "/sso/authorize",
|
22
22
|
:access_token_path => "/sso/token",
|
23
|
-
:signature_method => "PLAINTEXT"
|
23
|
+
:signature_method => "PLAINTEXT",
|
24
|
+
:include_expired_service_accounts => false
|
24
25
|
}
|
25
26
|
|
26
27
|
# These are called after authentication has succeeded. If
|
@@ -49,10 +50,14 @@ module OmniAuth
|
|
49
50
|
end
|
50
51
|
|
51
52
|
def user_data
|
52
|
-
@result ||= access_token.post('/sso/fetchuserdata',
|
53
|
+
@result ||= access_token.post('/sso/fetchuserdata', fetch_user_data_post_body)
|
53
54
|
@user_data ||= MultiJson.decode(@result.body)
|
54
55
|
end
|
55
56
|
|
57
|
+
def fetch_user_data_post_body
|
58
|
+
options['client_options']['include_expired_service_accounts'] ? {:include_expired => true} : nil
|
59
|
+
end
|
60
|
+
|
56
61
|
end
|
57
62
|
end
|
58
63
|
end
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = %q{omni_auth_passaporte_web}
|
6
|
-
s.version = "3.0.
|
6
|
+
s.version = "3.0.1"
|
7
7
|
s.authors = ["Rodrigo Tassinari de Oliveira", "Marcos Tapajos"]
|
8
8
|
s.email = ["rodrigo@pittlandia.net", "marcos@tapajos.me"]
|
9
9
|
s.homepage = %q{http://myfreecomm.com.br}
|
@@ -18,7 +18,8 @@ describe OmniAuth::Strategies::PassaporteWeb do
|
|
18
18
|
:oauth_version=>"1.0",
|
19
19
|
:access_token_path=>"/sso/token",
|
20
20
|
:scheme=>:header,
|
21
|
-
:site=>"http://sandbox.app.passaporteweb.com.br"
|
21
|
+
:site=>"http://sandbox.app.passaporteweb.com.br",
|
22
|
+
:include_expired_service_accounts => false
|
22
23
|
}
|
23
24
|
end
|
24
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omni_auth_passaporte_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-03-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: omniauth-oauth
|
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
segments:
|
111
111
|
- 0
|
112
|
-
hash:
|
112
|
+
hash: 1260277916869844343
|
113
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
114
|
none: false
|
115
115
|
requirements:
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
segments:
|
120
120
|
- 0
|
121
|
-
hash:
|
121
|
+
hash: 1260277916869844343
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
124
|
rubygems_version: 1.8.25
|