omniauth-myvr 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/myvr.rb +12 -12
- data/omniauth-myvr.gemspec +1 -1
- 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: f57d80f1298aaca70677798912a460c4e063d752
|
4
|
+
data.tar.gz: 47db64c5cd9b6605c49db15358e38acbb66504b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 928dcedc96b4639e7ab7e176b22276cc1985d217bf71a708c6c79f27b68c66294784bfa3f0308ab30ce869ecf9daa5661d23c703765a90a16f61839c0f185172
|
7
|
+
data.tar.gz: f59544aed2292ab3d66e5a5cc1a3c3b0f9ad597a9498450ed8d2ef4648fcbeed2c76ba46d412297de3947bceacb729ab99add438d395fdd185d5a233fad11806
|
@@ -113,23 +113,23 @@ module OmniAuth
|
|
113
113
|
# ::OAuth2::AccessToken.from_hash(client, request.params.dup)
|
114
114
|
# else
|
115
115
|
# verifier = request.params["code"]
|
116
|
-
client.auth_code.get_token(verifier, get_token_options(
|
116
|
+
client.auth_code.get_token(verifier, get_token_options(redirect_uri), deep_symbolize(options.auth_token_params))
|
117
117
|
# end
|
118
118
|
# verify_hd(access_token)
|
119
119
|
# access_token
|
120
120
|
end
|
121
121
|
alias_method :build_access_token, :custom_build_access_token
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
122
|
+
|
123
|
+
private
|
124
|
+
|
125
|
+
def callback_url
|
126
|
+
options[:redirect_uri] || (full_host + script_name + callback_path)
|
127
|
+
end
|
128
|
+
|
129
|
+
def get_token_options(redirect_uri)
|
130
|
+
{ :redirect_uri => redirect_uri }.merge(token_params.to_hash(:symbolize_keys => true))
|
131
|
+
end
|
132
|
+
|
133
133
|
# def prune!(hash)
|
134
134
|
# hash.delete_if do |_, v|
|
135
135
|
# prune!(v) if v.is_a?(Hash)
|
data/omniauth-myvr.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "omniauth-myvr"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.14"
|
7
7
|
s.authors = ["CJ Avilla"]
|
8
8
|
s.email = ["cjavilla@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/w1zeman1p/omniauth-myvr"
|