fusionauth_client 1.58.2 → 1.59.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac5ce5d69ef226b753dbdf0d2b05eb49d17fcac7acb43d0ffed5eb7d7f764c88
4
- data.tar.gz: 9594d1d548cbc1511222acb7569335c277bd8df605eda490641708a7ed02853b
3
+ metadata.gz: 6c63c76a97fe2add8445cc62b1d998cb9d44b3f4a1585d2464a8204b37d4bcc7
4
+ data.tar.gz: 374172cea11151db79a66b2b111438020b70e6d3e5fae6f1987b408b2ce05246
5
5
  SHA512:
6
- metadata.gz: 273f210d8ef4a8b3e49bf8cee3c8ef40cfe1cc2cfd2210c6dd6c232463e1f909d72cedc848fda96829deb0dfaa2a2b053cd432fb42513c7284fd10137c01beec
7
- data.tar.gz: c9fcf676fde82a7ce39e1699a3bcd738e83950f28ef7bc9b8faec4ca05a7eab7e8c4a2db0b73f8764da7cafa5550d3ad23d724af19cc12e0ad8783c809403697
6
+ metadata.gz: c133e6f91fddd86149dc63f0ee86449fc4e354f9871a98253a8a8c6a5fc001e494dfb3efad351af5ccea4d7bd89aff47075c9de2765c14e146b367dab24e2a30
7
+ data.tar.gz: 254bc2b67e89030c2a2f69a6371f110c92ebe3db1342b42e6bbb33d0758091918f3b97f297f7eb67cb1726162c72380178d21192f2d6e7eeeeb5246dfa97289c
@@ -6,9 +6,6 @@ on:
6
6
  - develop
7
7
  - main
8
8
  pull_request:
9
- branches:
10
- - develop
11
- - main
12
9
  workflow_dispatch:
13
10
 
14
11
  permissions:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.58.2)
4
+ fusionauth_client (1.59.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/build.savant CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  pubVersion = ""
18
- project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.58.2", licenses: ["ApacheV2_0"]) {
18
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.59.0", licenses: ["ApacheV2_0"]) {
19
19
  workflow {
20
20
  fetch {
21
21
  cache()
@@ -9,8 +9,7 @@
9
9
  <orderEntry type="jdk" jdkName="rbenv: 3.4.2" jdkType="RUBY_SDK" />
10
10
  <orderEntry type="sourceFolder" forTests="false" />
11
11
  <orderEntry type="library" scope="PROVIDED" name="bundler (v2.6.2, rbenv: 3.4.2) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="cgi (v0.4.2, rbenv: 3.4.2) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="psych (v5.2.3, rbenv: 3.4.2) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="racc (v1.8.1, rbenv: 3.4.2) [gem]" level="application" />
14
13
  <orderEntry type="library" scope="PROVIDED" name="rake (v13.2.1, rbenv: 3.4.2) [gem]" level="application" />
15
14
  </component>
16
- </module>
15
+ </module>
@@ -19,7 +19,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
19
19
 
20
20
  Gem::Specification.new do |spec|
21
21
  spec.name = 'fusionauth_client'
22
- spec.version = '1.58.2'
22
+ spec.version = '1.59.0'
23
23
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
24
24
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
25
25
 
@@ -265,6 +265,18 @@ module FusionAuth
265
265
  .go
266
266
  end
267
267
 
268
+ #
269
+ # Completes verification of an identity using verification codes from the Verify Start API.
270
+ #
271
+ # @param request [OpenStruct, Hash] The identity verify complete request that contains all the information used to verify the identity.
272
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
273
+ def complete_verify_identity(request)
274
+ start.uri('/api/identity/verify/complete')
275
+ .body_handler(FusionAuth::JSONBodyHandler.new(request))
276
+ .post
277
+ .go
278
+ end
279
+
268
280
  #
269
281
  # Complete a WebAuthn authentication ceremony by validating the signature against the previously generated challenge without logging the user in
270
282
  #
@@ -3405,6 +3417,20 @@ module FusionAuth
3405
3417
  .go
3406
3418
  end
3407
3419
 
3420
+ #
3421
+ # Retrieves the user for the loginId, using specific loginIdTypes.
3422
+ #
3423
+ # @param login_id [string] The email or username of the user.
3424
+ # @param login_id_types [Array] the identity types that FusionAuth will compare the loginId to.
3425
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
3426
+ def retrieve_user_by_login_id_with_login_id_types(login_id, login_id_types)
3427
+ start.uri('/api/user')
3428
+ .url_parameter('loginId', login_id)
3429
+ .url_parameter('loginIdTypes', login_id_types)
3430
+ .get
3431
+ .go
3432
+ end
3433
+
3408
3434
  #
3409
3435
  # Retrieves the user for the given username.
3410
3436
  #
@@ -3586,6 +3612,27 @@ module FusionAuth
3586
3612
  .go
3587
3613
  end
3588
3614
 
3615
+ #
3616
+ # Retrieves the login report between the two instants for a particular user by login Id, using specific loginIdTypes. If you specify an application id, it will only return the
3617
+ # login counts for that application.
3618
+ #
3619
+ # @param application_id [string] (Optional) The application id.
3620
+ # @param login_id [string] The userId id.
3621
+ # @param start [OpenStruct, Hash] The start instant as UTC milliseconds since Epoch.
3622
+ # @param _end [OpenStruct, Hash] The end instant as UTC milliseconds since Epoch.
3623
+ # @param login_id_types [Array] the identity types that FusionAuth will compare the loginId to.
3624
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
3625
+ def retrieve_user_login_report_by_login_id_and_login_id_types(application_id, login_id, start, _end, login_id_types)
3626
+ start.uri('/api/report/login')
3627
+ .url_parameter('applicationId', application_id)
3628
+ .url_parameter('loginId', login_id)
3629
+ .url_parameter('start', start)
3630
+ .url_parameter('end', _end)
3631
+ .url_parameter('loginIdTypes', login_id_types)
3632
+ .get
3633
+ .go
3634
+ end
3635
+
3589
3636
  #
3590
3637
  # Retrieves the last number of login records for a user.
3591
3638
  #
@@ -4215,6 +4262,18 @@ module FusionAuth
4215
4262
  .go
4216
4263
  end
4217
4264
 
4265
+ #
4266
+ # Send a verification code using the appropriate transport for the identity type being verified.
4267
+ #
4268
+ # @param request [OpenStruct, Hash] The identity verify send request that contains all the information used send the code.
4269
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
4270
+ def send_verify_identity(request)
4271
+ start.uri('/api/identity/verify/send')
4272
+ .body_handler(FusionAuth::JSONBodyHandler.new(request))
4273
+ .post
4274
+ .go
4275
+ end
4276
+
4218
4277
  #
4219
4278
  # Begins a login request for a 3rd party login that requires user interaction such as HYPR.
4220
4279
  #
@@ -4258,6 +4317,19 @@ module FusionAuth
4258
4317
  .go
4259
4318
  end
4260
4319
 
4320
+ #
4321
+ # Start a verification of an identity by generating a code. This code can be sent to the User using the Verify Send API
4322
+ # Verification Code API or using a mechanism outside of FusionAuth. The verification is completed by using the Verify Complete API with this code.
4323
+ #
4324
+ # @param request [OpenStruct, Hash] The identity verify start request that contains all the information used to begin the request.
4325
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
4326
+ def start_verify_identity(request)
4327
+ start.uri('/api/identity/verify/start')
4328
+ .body_handler(FusionAuth::JSONBodyHandler.new(request))
4329
+ .post
4330
+ .go
4331
+ end
4332
+
4261
4333
  #
4262
4334
  # Start a WebAuthn authentication ceremony by generating a new challenge for the user
4263
4335
  #
@@ -4840,6 +4912,18 @@ module FusionAuth
4840
4912
  .go
4841
4913
  end
4842
4914
 
4915
+ #
4916
+ # Administratively verify a user identity.
4917
+ #
4918
+ # @param request [OpenStruct, Hash] The identity verify request that contains information to verify the identity.
4919
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
4920
+ def verify_identity(request)
4921
+ start.uri('/api/identity/verify')
4922
+ .body_handler(FusionAuth::JSONBodyHandler.new(request))
4923
+ .post
4924
+ .go
4925
+ end
4926
+
4843
4927
  #
4844
4928
  # Confirms an application registration. The Id given is usually from an email sent to the user.
4845
4929
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusionauth_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.58.2
4
+ version: 1.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pontarelli
8
8
  - Daniel DeGroff
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-24 00:00:00.000000000 Z
11
+ date: 2025-08-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This library contains the Ruby client library that helps you connect
14
14
  your application to FusionAuth.