jwt-authenticator 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jwt-authenticator.rb +1 -1
- data/lib/jwt-authenticator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1594405585a9b9ca3a4aabbc78009933f4b2fb61a9b2603859e94e0fb5bc405e
|
4
|
+
data.tar.gz: 5367a7f47901e011873617629f9ad7fa19cf105683b77e62ebaf2243e00bf42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c65456b9315075410754af88b86695408d59cd65d8cc3a1d6c359565673fde288e7888eb6a8d306ce1dc6f091c6748772ce78071620bf363058a7a3d8cb38a4
|
7
|
+
data.tar.gz: c140db9b70ecd140c48155390cda1c94fcd62a6d370330f79342596d16e8fdc01adcf930fd823119b43cfe8c01f2474d23e0cd30ff13859edfa7edeca0f6db3b
|
data/lib/jwt-authenticator.rb
CHANGED
@@ -37,7 +37,7 @@ protected
|
|
37
37
|
namespace = namespace.gsub(/_+\z/, "")
|
38
38
|
{ verify_expiration: ENV["#{namespace}_VERIFY_EXP"] != "false",
|
39
39
|
verify_not_before: ENV["#{namespace}_VERIFY_NBF"] != "false",
|
40
|
-
iss: ENV["#{namespace}_ISS"].to_s.squish.presence,
|
40
|
+
iss: ENV["#{namespace}_ISS"].to_s.split(",").map(&:squish).reject(&:blank?).presence, # Comma-separated values.
|
41
41
|
verify_iat: ENV["#{namespace}_VERIFY_IAT"] != "false",
|
42
42
|
verify_jti: ENV["#{namespace}_VERIFY_JTI"] != "false",
|
43
43
|
aud: ENV["#{namespace}_AUD"].to_s.split(",").map(&:squish).reject(&:blank?).presence, # Comma-separated values.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt-authenticator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaroslav Konoplov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|