zaikio-oauth_client 0.19.1 → 0.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zaikio/oauth_client/test_helper.rb +2 -1
- data/lib/zaikio/oauth_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34a7bf1aa494d16086807798f3f15a3634571b485afae332ec57e7871b61dbd6
|
4
|
+
data.tar.gz: 3ee46611f92593cdf2cfd60403fe08f0d5401aca3217b0d063e040d6583a95c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b81867f191fd382ab76e06c2e3f4d7c7e76ad351ef10bd477f4eb352a7bf9545e677fdaefb7b83c6cdf3706caa86b095da8fbcd610ef9fae851c78c393312fbf
|
7
|
+
data.tar.gz: 66de7443b83d3976aa42216969809ccb88c7e0d1e4c22c1c7a43bb59aad4c30b87e44fc41f3a72bdab4ecdb91ba1c4789676e97b48d40a5f03cc72a7555d72e2
|
@@ -3,7 +3,7 @@ module Zaikio
|
|
3
3
|
module TestHelper
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
|
-
VirtualAccessToken = Struct.new(:bearer_id, :bearer_type, :audience, :expired?, keyword_init: true)
|
6
|
+
VirtualAccessToken = Struct.new(:id, :bearer_id, :bearer_type, :audience, :expired?, keyword_init: true)
|
7
7
|
|
8
8
|
class << self
|
9
9
|
def find_active_access_token(id)
|
@@ -12,6 +12,7 @@ module Zaikio
|
|
12
12
|
_, audience, person_id = id.split(":")
|
13
13
|
|
14
14
|
VirtualAccessToken.new(
|
15
|
+
id: id,
|
15
16
|
bearer_id: person_id,
|
16
17
|
audience: audience,
|
17
18
|
bearer_type: "Person",
|