passageidentity 0.2.2 → 0.2.3
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/README.md +2 -0
- data/lib/passageidentity/client.rb +9 -2
- data/passageidentity.gemspec +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: 0f38ac4af6f724f0c6a1a627dc2b0f03cf6ab7bb444eedccf31f34088913e892
|
4
|
+
data.tar.gz: 671196153c6d5d8e91f9524e5e2766e81b9ba1fb34611949911d1b32852f276e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061e2fe45361d9b498ab76a3945ce88960fc78d1b465b6cc4a87e94ab954ec2e6abd8ad803941a38f62787e5cda9ff464d9b2b709455a846fa398942be728cef
|
7
|
+
data.tar.gz: 92ed644ed4a7eeea9eca3219e8121c2ebd2ff16376603cc0daf15475223093cf36eae4f349297a51a668a3606e275018d6de0f74bd01cf4e78e595a8b5631f57
|
data/README.md
CHANGED
@@ -22,7 +22,10 @@ module Passage
|
|
22
22
|
:user_metadata_schema,
|
23
23
|
:layouts,
|
24
24
|
:default_language,
|
25
|
+
:auth_fallback_method,
|
26
|
+
:auth_fallback_method_ttl,
|
25
27
|
keyword_init: true
|
28
|
+
|
26
29
|
User =
|
27
30
|
Struct.new :id,
|
28
31
|
:status,
|
@@ -129,7 +132,9 @@ module Passage
|
|
129
132
|
app_info["refresh_inactivity_lifetime"],
|
130
133
|
user_metadata_schema: app_info["user_metadata_schema"],
|
131
134
|
layouts: app_info["layouts"],
|
132
|
-
default_language: app_info["default_language"]
|
135
|
+
default_language: app_info["default_language"],
|
136
|
+
auth_fallback_method: app_info["auth_fallback_method"],
|
137
|
+
auth_fallback_method_ttl: app_info["auth_fallback_method_ttl"]
|
133
138
|
)
|
134
139
|
)
|
135
140
|
rescue => e
|
@@ -146,7 +151,8 @@ module Passage
|
|
146
151
|
magic_link_path: "",
|
147
152
|
redirect_url: "",
|
148
153
|
language: "",
|
149
|
-
ttl: 60
|
154
|
+
ttl: 60,
|
155
|
+
type: "login"
|
150
156
|
)
|
151
157
|
magic_link_req = {}
|
152
158
|
magic_link_req["user_id"] = user_id unless user_id.empty?
|
@@ -167,6 +173,7 @@ module Passage
|
|
167
173
|
] = magic_link_path unless magic_link_path.empty?
|
168
174
|
magic_link_req["redirect_url"] = redirect_url unless redirect_url.empty?
|
169
175
|
magic_link_req["ttl"] = ttl unless ttl == 0
|
176
|
+
magic_link_req["type"] = type
|
170
177
|
|
171
178
|
begin
|
172
179
|
response =
|
data/passageidentity.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'passageidentity'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.3'
|
4
4
|
s.summary = 'Passage SDK for biometric authentication'
|
5
5
|
s.description =
|
6
6
|
'Enables verification of server-side authentication and user management for applications using Passage'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passageidentity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Passage Identity
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|