fusionauth_client 1.62.0 → 1.63.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: ad9bb0667684cd1aab1c1e8b45c03fe842fbed008238d3e636e811a4f52822ca
4
- data.tar.gz: 907bcdb90937fe0a6e7ccc3bc2899abfbc32ea148b77a000d51d02cf0aa65428
3
+ metadata.gz: a00315e90f98c3c9f7e999642cf40a2cd7f145d01bdbc93f1873ee5f72be6277
4
+ data.tar.gz: a71f19cbd3bfe127ea09608a15ac7ba1a265145d72be831b2f6dcd5f6a36a6e0
5
5
  SHA512:
6
- metadata.gz: 5cd9b38be5b0a2c55a187cd1dab96b99caa84c2c473115dc3b147e4105c45fefbd4789852da88926d7cfb2cbbd8ed5997ee0bdc6f770a31f3f0124c2c2f373a2
7
- data.tar.gz: 3defa696a2f6a444efd38249f0b34260033b39ea7356075d3507b588122c9546a261e41f50d789f706c8f17d5ddba722e560532c3b272905d1192876cf139d76
6
+ metadata.gz: c28c51b421c16e5a686e06f68ad92726e5ccf9affc3ab37805bc511f533a1cbcaf36f3f8fca8f32cf28a1b988e175d92f19c3cf761723b41c079fd91c7cfddb0
7
+ data.tar.gz: e94ec3411fbe056acc2074d74c48c53dccb971cc54656924e70bc4b6f83fcbfd058d614c074cf2e07db24aefaeb9cd07e75ac041298eadc087a6d5d2c483f6e8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.62.0)
4
+ fusionauth_client (1.63.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.62.0", licenses: ["ApacheV2_0"]) {
18
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.63.0", licenses: ["ApacheV2_0"]) {
19
19
  workflow {
20
20
  fetch {
21
21
  cache()
@@ -24,4 +24,4 @@
24
24
  <orderEntry type="library" scope="PROVIDED" name="stringio (v3.1.6, rbenv: 3.4.2) [gem]" level="application" />
25
25
  <orderEntry type="library" scope="PROVIDED" name="unindent (v1.0, rbenv: 3.4.2) [gem]" level="application" />
26
26
  </component>
27
- </module>
27
+ </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.62.0'
22
+ spec.version = '1.63.0'
23
23
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
24
24
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
25
25
 
@@ -2,7 +2,7 @@ require 'ostruct'
2
2
  require 'fusionauth/rest_client'
3
3
 
4
4
  #
5
- # Copyright (c) 2018-2025, FusionAuth, All Rights Reserved
5
+ # Copyright (c) 2018-2026, FusionAuth, All Rights Reserved
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
8
8
  # you may not use this file except in compliance with the License.
@@ -1412,6 +1412,18 @@ module FusionAuth
1412
1412
  .go
1413
1413
  end
1414
1414
 
1415
+ #
1416
+ # Deletes all of the WebAuthn credentials for the given User Id.
1417
+ #
1418
+ # @param user_id [string] The unique Id of the User to delete WebAuthn passkeys for.
1419
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
1420
+ def delete_web_authn_credentials_for_user(user_id)
1421
+ start.uri('/api/webauthn')
1422
+ .url_parameter('userId', user_id)
1423
+ .delete
1424
+ .go
1425
+ end
1426
+
1415
1427
  #
1416
1428
  # Deletes the webhook for the given Id.
1417
1429
  #
@@ -2049,7 +2061,7 @@ module FusionAuth
2049
2061
  end
2050
2062
 
2051
2063
  #
2052
- # Retrieves the identity provider for the given domain. A 200 response code indicates the domain is managed
2064
+ # Retrieves any global identity providers for the given domain. A 200 response code indicates the domain is managed
2053
2065
  # by a registered identity provider. A 404 indicates the domain is not managed.
2054
2066
  #
2055
2067
  # @param domain [string] The domain or email address to lookup.
@@ -2061,6 +2073,22 @@ module FusionAuth
2061
2073
  .go
2062
2074
  end
2063
2075
 
2076
+ #
2077
+ # Retrieves the identity provider for the given domain and tenantId. A 200 response code indicates the domain is managed
2078
+ # by a registered identity provider. A 404 indicates the domain is not managed.
2079
+ #
2080
+ # @param domain [string] The domain or email address to lookup.
2081
+ # @param tenant_id [string] If provided, the API searches for an identity provider scoped to the corresponding tenant that manages the requested domain.
2082
+ # If no result is found, the API then searches for global identity providers.
2083
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
2084
+ def lookup_identity_provider_by_tenant_id(domain, tenant_id)
2085
+ start.uri('/api/identity-provider/lookup')
2086
+ .url_parameter('domain', domain)
2087
+ .url_parameter('tenantId', tenant_id)
2088
+ .get
2089
+ .go
2090
+ end
2091
+
2064
2092
  #
2065
2093
  # Modifies a temporal user action by changing the expiration of the action and optionally adding a comment to the
2066
2094
  # action.
@@ -4005,18 +4033,6 @@ module FusionAuth
4005
4033
  .go
4006
4034
  end
4007
4035
 
4008
- #
4009
- # Retrieves the user for the given Id. This method does not use an API key, instead it uses a JSON Web Token (JWT) for authentication.
4010
- #
4011
- # @param encoded_jwt [string] The encoded JWT (access token).
4012
- # @return [FusionAuth::ClientResponse] The ClientResponse object.
4013
- def retrieve_user_using_jwt(encoded_jwt)
4014
- startAnonymous.uri('/api/user')
4015
- .authorization('Bearer ' + encoded_jwt)
4016
- .get
4017
- .go
4018
- end
4019
-
4020
4036
  #
4021
4037
  # Retrieves the FusionAuth version string.
4022
4038
  #
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.62.0
4
+ version: 1.63.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-12-18 00:00:00.000000000 Z
11
+ date: 2026-02-26 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.