zaikio-jwt_auth 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zaikio/jwt_auth.rb +1 -1
- data/lib/zaikio/jwt_auth/configuration.rb +1 -1
- data/lib/zaikio/jwt_auth/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16afec7be22352a9cc13e7bc0e65edfcbd1aef93073e3cb4f8f3059eda576859
|
|
4
|
+
data.tar.gz: f1608ab958c199ff881416298bc17ffd02c3aea3f41315789009af817542f7c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52e9deeaed67d548070b6e28317e000232831896dcef98dabd1e333f2e05e4a6166618ff7cf176e88ff0a6cdb148d2291604366f3f7155149a904a821128bfe1
|
|
7
|
+
data.tar.gz: 570301e458fbba82a6ace338dcbc4be1f481d2e20d53a0d28b40f096bf56baf154408ce7ae4cb5b18d691f071580de64b012d3daabf5a81f4b8a87db95186039
|
data/lib/zaikio/jwt_auth.rb
CHANGED
|
@@ -76,7 +76,7 @@ module Zaikio
|
|
|
76
76
|
|
|
77
77
|
return if show_error_if_authorize_by_jwt_scopes_fails(token_data)
|
|
78
78
|
|
|
79
|
-
send(:after_jwt_auth, token_data) if respond_to?(:after_jwt_auth)
|
|
79
|
+
send(:after_jwt_auth, token_data) if respond_to?(:after_jwt_auth, true)
|
|
80
80
|
rescue JWT::ExpiredSignature
|
|
81
81
|
render_error("jwt_expired") && (return)
|
|
82
82
|
rescue JWT::DecodeError
|
metadata
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zaikio-jwt_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- crispymtn
|
|
8
|
+
- Jalyna Schröder
|
|
9
|
+
- Martin Spickermann
|
|
8
10
|
autorequire:
|
|
9
11
|
bindir: bin
|
|
10
12
|
cert_chain: []
|
|
11
|
-
date: 2020-04
|
|
13
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
|
12
14
|
dependencies:
|
|
13
15
|
- !ruby/object:Gem::Dependency
|
|
14
16
|
name: oj
|
|
@@ -54,7 +56,9 @@ dependencies:
|
|
|
54
56
|
version: 2.2.1
|
|
55
57
|
description: JWT-Based authentication and authorization with zaikio.
|
|
56
58
|
email:
|
|
59
|
+
- op@crispymtn.com
|
|
57
60
|
- js@crispymtn.com
|
|
61
|
+
- spickermann@gmail.com
|
|
58
62
|
executables: []
|
|
59
63
|
extensions: []
|
|
60
64
|
extra_rdoc_files: []
|
|
@@ -93,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
97
|
- !ruby/object:Gem::Version
|
|
94
98
|
version: '0'
|
|
95
99
|
requirements: []
|
|
96
|
-
rubygems_version: 3.
|
|
100
|
+
rubygems_version: 3.0.3
|
|
97
101
|
signing_key:
|
|
98
102
|
specification_version: 4
|
|
99
103
|
summary: JWT-Based authentication and authorization with zaikio
|