jwt_signed_request 2.5.2 → 2.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53b7a62273005016246b631bb5c51179dc919b39c78a42723ac9875454520b17
|
4
|
+
data.tar.gz: c2e1c4013bf18397d00a1bf73b3ccdd73cdc892d33099589fb6c9efe431e2449
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075ad9f0bebce419ae9fae300f90466a45211f4989b9c47ecfe880611e8cbfcc703dce33f61336ee5461d8198608c6ca59e1dcc77f64dfb71c0c7112fc68cc82
|
7
|
+
data.tar.gz: 49f01873efebe7593821ce98aca563335297c745ff6aa99bb1703f32d6d463480a592b6efb091abb76915c6a03fbf7ca081507a8bd6fac28089281c484c3a297
|
@@ -12,11 +12,13 @@ module JWTSignedRequest
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def call(env)
|
15
|
+
env[:body] ||= ::JWTSignedRequest::EMPTY_BODY
|
16
|
+
|
15
17
|
@jwt_token = ::JWTSignedRequest.sign(
|
16
18
|
method: env[:method],
|
17
19
|
path: env[:url].request_uri,
|
18
20
|
headers: env[:request_headers],
|
19
|
-
body: env
|
21
|
+
body: env[:body],
|
20
22
|
**optional_settings
|
21
23
|
)
|
22
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt_signed_request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
150
|
+
rubygems_version: 3.1.2
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: JWT request signing and verification for Internal APIs
|