omniauth-samsung-account 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e123d2210aab170cbcb4e48755965cbe6465f4
|
4
|
+
data.tar.gz: 592ca6b0748fc1604a177029b481cb0d65b2e79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 950df10b53a983a1bd5a7ba98cb3a111af1949fa0461d254f856e7153df208fee56fb8218af0481d6db184771a513f98b063f6db2b97acc41c8d0e3c5e32e530
|
7
|
+
data.tar.gz: 1ce395c46c856fb6f9be07d643c86d973674b869f5cfb999d5addb3f39697690861700bb4d588c577702770005b4e2c1f71b96f53de8f665e5521147fa37fb47
|
@@ -31,7 +31,7 @@ module OmniAuth
|
|
31
31
|
hash = {"token" => access_token.token}
|
32
32
|
hash.merge!("refresh_token" => access_token.refresh_token)
|
33
33
|
hash.merge!("expires_at" => access_token.expires_at)
|
34
|
-
hash.merge!("
|
34
|
+
hash.merge!("refresh_token_expires_at" => Time.now.to_i + access_token.params["refresh_token_expires_in"].to_i)
|
35
35
|
hash.merge!("expires" => access_token.expires?)
|
36
36
|
|
37
37
|
hash.merge!("user_id" => access_token.params["userId"])
|