authsignal-ruby 5.3.0 → 5.4.0
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/Gemfile.lock +1 -1
- data/lib/authsignal/client.rb +4 -2
- data/lib/authsignal/version.rb +1 -1
- data/lib/authsignal.rb +2 -2
- 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: e8673d23a407cf818e019f318a4ffaf1e70f966991f2b32d4de8b8fe0ef8d14f
|
|
4
|
+
data.tar.gz: 3cbb5a1b6e98adb1b45825a552ef8c2cec54e0eca1e828be0234b31a76a35eef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbacd4fec6eeb9f33136d7b91252c3ff00477d7a9a88db6e8984b130b79375a0623bcb5a5a5a047febfaa7cbd881f7c70a3a9e74f01fe1d5b61dc4b04aa64dc9
|
|
7
|
+
data.tar.gz: da91e1f2178a0d3e20defd5421f6bfc63c7cab887861528412dc32c79a890ad7a681f2ae1aee361c886e453635c90af581163d5b9ce1ca06c50d86f3b0ce82f5
|
data/Gemfile.lock
CHANGED
data/lib/authsignal/client.rb
CHANGED
|
@@ -124,8 +124,9 @@ module Authsignal
|
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
def challenge(
|
|
127
|
-
verification_method
|
|
128
|
-
action
|
|
127
|
+
verification_method: nil,
|
|
128
|
+
action: nil,
|
|
129
|
+
challenge_id: nil,
|
|
129
130
|
idempotency_key: nil,
|
|
130
131
|
user_id: nil,
|
|
131
132
|
email: nil,
|
|
@@ -141,6 +142,7 @@ module Authsignal
|
|
|
141
142
|
body = {
|
|
142
143
|
verification_method: verification_method,
|
|
143
144
|
action: action,
|
|
145
|
+
challenge_id: challenge_id,
|
|
144
146
|
idempotency_key: idempotency_key,
|
|
145
147
|
user_id: user_id,
|
|
146
148
|
email: email,
|
data/lib/authsignal/version.rb
CHANGED
data/lib/authsignal.rb
CHANGED
|
@@ -104,8 +104,8 @@ module Authsignal
|
|
|
104
104
|
handle_response(response)
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
def challenge(
|
|
108
|
-
response = Client.new.challenge(
|
|
107
|
+
def challenge(**options)
|
|
108
|
+
response = Client.new.challenge(**options)
|
|
109
109
|
|
|
110
110
|
handle_response(response)
|
|
111
111
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: authsignal-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- justinsoong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|