fusionauth_client 1.60.0 → 1.61.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: 4f8a63f23ddce8707ad91ed2a0e96e9ebd2f1d09b47aa46ce0b94270fdf2e0fe
4
- data.tar.gz: 85dbfbfdb996a0941e244791877c2cf17f2769ed02e52acebad60709ed443150
3
+ metadata.gz: 58e317fccbd8e1d274a59b80f7f1fc3718687bdf07596a65b13e023d95afd128
4
+ data.tar.gz: 1d86814be6744576d95c37204e5422b7b3323eb42595fc8971004ec70d912f3d
5
5
  SHA512:
6
- metadata.gz: 896b8cee7da26919d1b6a2806838479dbcd0344da87a147d1d74fbea54b71223a8fd9e0050a0fc00514c73a1eac08ba53de7d35fc4a1ffd5131195cb49cb957f
7
- data.tar.gz: 8b4740ec09ad5b18e83854b1dde7285a8f43c7a7476cef112d78b87890dc0d3a0fe5779ec9074ae1349e55a846e9e2c937ca1d37b20bc1612bca1ae25bb6e158
6
+ metadata.gz: a314f61c7f1483f59e9f5355e83b29ab246ab8e37663dd8643540f007fc5a9d823393ac0daeec562bc9710e9733e12005ad9eb9a864439d773bbf1b3ad30d195
7
+ data.tar.gz: fa0bd3953165d6b8da5829ccb6efac9299e776bf96bfc3fb0a52bdf19bba72c6a5897b12f554297013bc3d11f557f1321a7562ec258a26ce42ffa5383b0c9fe6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.60.0)
4
+ fusionauth_client (1.61.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.60.0", licenses: ["ApacheV2_0"]) {
18
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.61.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.60.0'
22
+ spec.version = '1.61.0'
23
23
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
24
24
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
25
25
 
@@ -222,11 +222,29 @@ module FusionAuth
222
222
  #
223
223
  # An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
224
224
  #
225
- # @param login_id [string] The loginId of the User that you intend to change the password for.
225
+ # @param login_id [string] The loginId (email or username) of the User that you intend to change the password for.
226
226
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
227
227
  def check_change_password_using_login_id(login_id)
228
228
  start.uri('/api/user/change-password')
229
- .url_parameter('username', login_id)
229
+ .url_parameter('loginId', login_id)
230
+ .get
231
+ .go
232
+ end
233
+
234
+ #
235
+ # Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
236
+ # When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
237
+ # your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
238
+ #
239
+ # An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
240
+ #
241
+ # @param login_id [string] The loginId of the User that you intend to change the password for.
242
+ # @param login_id_types [Array] The identity types that FusionAuth will compare the loginId to.
243
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
244
+ def check_change_password_using_login_id_and_login_id_types(login_id, login_id_types)
245
+ start.uri('/api/user/change-password')
246
+ .url_parameter('loginId', login_id)
247
+ .url_parameter('loginIdTypes', login_id_types)
230
248
  .get
231
249
  .go
232
250
  end
@@ -3421,7 +3439,7 @@ module FusionAuth
3421
3439
  # Retrieves the user for the loginId, using specific loginIdTypes.
3422
3440
  #
3423
3441
  # @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.
3442
+ # @param login_id_types [Array] The identity types that FusionAuth will compare the loginId to.
3425
3443
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3426
3444
  def retrieve_user_by_login_id_with_login_id_types(login_id, login_id_types)
3427
3445
  start.uri('/api/user')
@@ -3620,7 +3638,7 @@ module FusionAuth
3620
3638
  # @param login_id [string] The userId id.
3621
3639
  # @param start [OpenStruct, Hash] The start instant as UTC milliseconds since Epoch.
3622
3640
  # @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.
3641
+ # @param login_id_types [Array] The identity types that FusionAuth will compare the loginId to.
3624
3642
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
3625
3643
  def retrieve_user_login_report_by_login_id_and_login_id_types(application_id, login_id, start, _end, login_id_types)
3626
3644
  start.uri('/api/report/login')
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.60.0
4
+ version: 1.61.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-09-11 00:00:00.000000000 Z
11
+ date: 2025-11-13 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.