fusionauth_client 1.67.0 → 1.68.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: 321ee51776900c0b4413323db72ecfad4f9f23c1f694d8880a6a2daa06641610
4
- data.tar.gz: 01edbe7bbcce07a35cccd567df66aea4dd0ec6eff1bbd6df9fef255babdaa89d
3
+ metadata.gz: e3f61c92955394e7d7f47d96da7756b72a4c213f8c9ae3c7e47292ec53c76a80
4
+ data.tar.gz: 92581230f5cb9d664f66006d55c6cf29dc5c60a101ad5df630cb39972fef0945
5
5
  SHA512:
6
- metadata.gz: d5ceca6b053371f1e98def2542fc049e9a8cc0a3ad3b33116b9c96c2045d9d6ae8180d73c90953fa9fe2cfb16b27631c7b610ed767d5ba1a21ed4ece531b39be
7
- data.tar.gz: e7a93bfc6093506d5d32a75b28c49f7ee357cbc7a2f22ac3695e1e162abd6a1d6cfef95c2c32342c4fb9bf24d3f11460f76cb8a90715d6777714133b8ea58bcf
6
+ metadata.gz: d29d0d6575950bd71b9ea798f2804b302b445232ea3556efa97190cadf65a3f05e2f2cdabdde6215e1acfb5634468bde9b671bec36b37702f74e9bc91b8905bf
7
+ data.tar.gz: 64818dc6c19b623564f09599821003beb0494a1d82aca88b30d3a92e92c29cdb409463fb3ed5f5e992af04a8c654769e4ab899afd7b75c481aa8d5326553feb6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.67.0)
4
+ fusionauth_client (1.68.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.67.0", licenses: ["ApacheV2_0"]) {
18
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.68.0", licenses: ["ApacheV2_0"]) {
19
19
  workflow {
20
20
  fetch {
21
21
  cache()
@@ -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.67.0'
22
+ spec.version = '1.68.0'
23
23
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
24
24
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
25
25
 
@@ -5218,6 +5218,20 @@ module FusionAuth
5218
5218
  .go
5219
5219
  end
5220
5220
 
5221
+ #
5222
+ # Updates the two-factor method for the given user using a JSON body.
5223
+ #
5224
+ # @param user_id [string] The Id of the user to update.
5225
+ # @param request [OpenStruct, Hash] The request information that contains the name and methodId along with any event information.
5226
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
5227
+ def update_two_factor(user_id, request)
5228
+ start.uri('/api/user/two-factor')
5229
+ .url_segment(user_id)
5230
+ .body_handler(FusionAuth::JSONBodyHandler.new(request))
5231
+ .put
5232
+ .go
5233
+ end
5234
+
5221
5235
  #
5222
5236
  # Updates the user with the given Id.
5223
5237
  #
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.67.0
4
+ version: 1.68.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: 2026-06-01 00:00:00.000000000 Z
11
+ date: 2026-06-30 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.