zaikio-oauth_client 0.3.5 → 0.3.6
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/app/models/zaikio/access_token.rb +1 -0
- data/lib/zaikio/oauth_client/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: 804b5951b903f5f1523f6fd2ca0589afe8833c3e27f0bb3cb7770ee31a111510
|
|
4
|
+
data.tar.gz: 646bca80b7c4da2ec1db963463fd335c2fe8610c55b381d69b3d755394945df3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dea2e9f53bc53f5b7c55233501f42fa5d4dfe99eb5545cb66d1cda0f3b0529159916949fbdbcc76abd6e409898bf26c7b9ea38de042b8183281994991fd5813a
|
|
7
|
+
data.tar.gz: 65681836df17eb8e877ae751dca740a1049f42f5f52f75c42a1c75ed0db1bd9c5d68c35410ab28596ca1e4e2b71d2602c11a7836dedfd71bf095768508694d27
|
|
@@ -32,6 +32,7 @@ module Zaikio
|
|
|
32
32
|
where("expires_at <= :now AND created_at > :created_at_max",
|
|
33
33
|
now: Time.current,
|
|
34
34
|
created_at_max: Time.current - refresh_token_valid_for)
|
|
35
|
+
.where("refresh_token IS NOT NULL")
|
|
35
36
|
.where.not(id: Zaikio::JWTAuth.blacklisted_token_ids)
|
|
36
37
|
}
|
|
37
38
|
scope :by_bearer, lambda { |bearer_type: "Person", bearer_id:, scopes: []|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zaikio-oauth_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zaikio GmbH
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|