omniauth-hubspot 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/hubspot/version.rb +1 -1
- data/lib/omniauth/strategies/hubspot.rb +4 -3
- 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: 36f310af8ee7795d0b90438d451e6981fdbe2cf7
|
4
|
+
data.tar.gz: d86d0c8c6809964321d188e7a2fd37da2173ae6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 712e5803be57076a828bad813279fdea0dba3deb1d1a1800c4274b36999240b4281affa6585d5238b92b31377d09b6c84f71eec847b8370abb31a4a8373056d0
|
7
|
+
data.tar.gz: 4145bd33f38d4ba1847f45e8bb9e3f2cecc026806c117596d932e4b4df78055dc5a2012c1e1ef3a06fe1bbbc544d11dbbd7dfff404fcdbf0e84edde775ada2ca
|
@@ -24,9 +24,10 @@ module OmniAuth
|
|
24
24
|
raise CallbackError.new(nil, :csrf_detected)
|
25
25
|
end
|
26
26
|
|
27
|
-
hash =
|
28
|
-
hash.
|
29
|
-
hash.
|
27
|
+
hash = Hashie::Mash.new
|
28
|
+
hash.token = request.params['access_token']
|
29
|
+
hash.refresh_token = request.params['refresh_token']
|
30
|
+
hash.expires_in = request.params['expires_in']
|
30
31
|
self.access_token = hash
|
31
32
|
|
32
33
|
self.env['omniauth.auth'] = auth_hash
|