nm-gigya 0.1.20 → 0.1.21

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
  SHA256:
3
- metadata.gz: 750c93385f69b17c6e9b18f0b24dd2c8de78f73a56e9056938cbbd2af5cf9b95
4
- data.tar.gz: 4ed2d9401b51060ce1ae37420e2905c2e4a4c8fb67dedc1982e5d18704434fe9
3
+ metadata.gz: 16a25e8dd7145c0f168abd4cb48d5a0015e36acf5b5875ab14847cd409da1517
4
+ data.tar.gz: 89575031565c30fece68f11d68cfb2c172c955861468890a1b4dd347cb5df555
5
5
  SHA512:
6
- metadata.gz: 22fb90438a1aab32b86f35ad22965e78c40bf6cafa33283d018a09704e76111da93a832896f59c4f3a19873f402b5feff56e05d959b26586fae26f8a30bab702
7
- data.tar.gz: e88ccc6ce71ee3789969fc44d0e20d13879c69d793c09ed7e005a426c5fbb9d618027186af54587f5b714a754609f678799a6ebe126712caa9b8081c0c6806ab
6
+ metadata.gz: a3afe07e75ba869edfd28d40560c1355e6fdfac5e724be115dd9a31a3c36c7626ad1c8be98251a95714f0b37bfd9f3d5f0a6cb0605525dbcdf53298ff2737236
7
+ data.tar.gz: 3b41ed2716229a0a4c9c7b5b13a0f874977b42a5e4673d9df01e15184ceb707368e833bd0c2b9adef5080063a9823f8daa474b2d9512be85f49e560c89ab5377
@@ -62,7 +62,7 @@ module Gigya
62
62
 
63
63
  begin
64
64
  if tmp_token.blank?
65
- tmp_token = session[GIGYA_SESSION_PARAM]
65
+ tmp_token = session[GIGYA_SESSION_PARAM]
66
66
  token_location = :session
67
67
  end
68
68
  rescue
@@ -78,7 +78,7 @@ module Gigya
78
78
  end
79
79
 
80
80
  def interpret_jwt_token(force = false)
81
- if @gigya_jwt_info.nil?
81
+ if @gigya_jwt_info.nil?
82
82
  @gigya_jwt_info = Gigya::Connection.shared_connection.validate_jwt(gigya_jwt_token)
83
83
 
84
84
  perform_token_refresh if needs_token_refresh?
@@ -114,7 +114,7 @@ module Gigya
114
114
  case @gigya_token_location
115
115
  when :header
116
116
  headers["X-Set-Authorization-Token"] = token
117
- headers["X-Set-Authorization-Token-Expiration"] = expiration_time.to_i
117
+ headers["X-Set-Authorization-Token-Expiration"] = expiration_time.to_i.to_s
118
118
  when :cookie
119
119
  cookies[GIGYA_COOKIE_PARAM] = token
120
120
  when :session
@@ -160,5 +160,5 @@ module Gigya
160
160
  @gigya_jwt_info["sub"]
161
161
  end
162
162
  end
163
- end
163
+ end
164
164
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nm-gigya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bartlett