fusionauth_client 1.63.0 → 1.65.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/.github/fusionauth/docker-compose.yml +1 -0
- data/.github/workflows/deploy.yaml +3 -3
- data/.github/workflows/docs.yml +2 -2
- data/.github/workflows/test.yml +1 -1
- data/Gemfile.lock +9 -9
- data/README.md +2 -1
- data/SECURITY.md +3 -0
- data/build.savant +1 -1
- data/fusionauth-ruby-client.iml +1 -1
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +113 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 684ae2ea6bb5398fac01028a67fae657f6b29b180364a8145e86e485b6f46fa9
|
|
4
|
+
data.tar.gz: 80fd544057397fb5d632b703b6567070918425f9ad4f4fbc0ff06f692b3dd089
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a5403ba8397e81144cb150f7ff7d04c88f3d10d24413016ac4b77845ad84b23b8944c269c33b974c5c31a55bd3028cbc92ff83cbadac79a029eaad09518c896
|
|
7
|
+
data.tar.gz: 83103543ba185654baafcc432ef6ecbd00bc91432f298deecb3399e504f81b4aca991af57b2afd280569659e1aa9eefc0729ab3ed2d88384155e8515c9756343
|
|
@@ -33,6 +33,7 @@ services:
|
|
|
33
33
|
FUSIONAUTH_APP_URL: http://fusionauth:9011
|
|
34
34
|
FUSIONAUTH_APP_KICKSTART_FILE: /usr/local/fusionauth/kickstart.json
|
|
35
35
|
SEARCH_TYPE: database
|
|
36
|
+
FUSIONAUTH_APP_INSTALLATION_SOURCE: fusionauth-ruby-client/ci
|
|
36
37
|
networks:
|
|
37
38
|
- db_net
|
|
38
39
|
restart: unless-stopped
|
|
@@ -10,7 +10,7 @@ on:
|
|
|
10
10
|
- main
|
|
11
11
|
workflow_dispatch:
|
|
12
12
|
inputs:
|
|
13
|
-
command:
|
|
13
|
+
command: # be careful when editing these, fusionauth-app expects certain commands
|
|
14
14
|
type: choice
|
|
15
15
|
options:
|
|
16
16
|
- build # build only
|
|
@@ -30,10 +30,10 @@ jobs:
|
|
|
30
30
|
shell: /usr/bin/bash -l -e -o pipefail {0}
|
|
31
31
|
steps:
|
|
32
32
|
- name: checkout
|
|
33
|
-
uses: actions/checkout@
|
|
33
|
+
uses: actions/checkout@v6
|
|
34
34
|
|
|
35
35
|
- name: setup java
|
|
36
|
-
uses: actions/setup-java@
|
|
36
|
+
uses: actions/setup-java@v5
|
|
37
37
|
with:
|
|
38
38
|
distribution: temurin
|
|
39
39
|
java-version: 21
|
data/.github/workflows/docs.yml
CHANGED
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
build:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
|
|
17
17
|
- name: Set up Ruby
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
rdoc --format=markdown lib/fusionauth/fusionauth_client.rb
|
|
26
26
|
|
|
27
27
|
- name: Commit
|
|
28
|
-
uses: EndBug/add-and-commit@v9
|
|
28
|
+
uses: EndBug/add-and-commit@v9
|
|
29
29
|
with:
|
|
30
30
|
add: 'doc/'
|
|
31
31
|
message: ':memo: Updating docs'
|
data/.github/workflows/test.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fusionauth_client (1.
|
|
4
|
+
fusionauth_client (1.65.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -12,21 +12,21 @@ GEM
|
|
|
12
12
|
cgi
|
|
13
13
|
extralite-bundle (1.27)
|
|
14
14
|
minitest (5.25.5)
|
|
15
|
-
nokogiri (1.
|
|
15
|
+
nokogiri (1.19.1-aarch64-linux-gnu)
|
|
16
16
|
racc (~> 1.4)
|
|
17
|
-
nokogiri (1.
|
|
17
|
+
nokogiri (1.19.1-aarch64-linux-musl)
|
|
18
18
|
racc (~> 1.4)
|
|
19
|
-
nokogiri (1.
|
|
19
|
+
nokogiri (1.19.1-arm-linux-gnu)
|
|
20
20
|
racc (~> 1.4)
|
|
21
|
-
nokogiri (1.
|
|
21
|
+
nokogiri (1.19.1-arm-linux-musl)
|
|
22
22
|
racc (~> 1.4)
|
|
23
|
-
nokogiri (1.
|
|
23
|
+
nokogiri (1.19.1-arm64-darwin)
|
|
24
24
|
racc (~> 1.4)
|
|
25
|
-
nokogiri (1.
|
|
25
|
+
nokogiri (1.19.1-x86_64-darwin)
|
|
26
26
|
racc (~> 1.4)
|
|
27
|
-
nokogiri (1.
|
|
27
|
+
nokogiri (1.19.1-x86_64-linux-gnu)
|
|
28
28
|
racc (~> 1.4)
|
|
29
|
-
nokogiri (1.
|
|
29
|
+
nokogiri (1.19.1-x86_64-linux-musl)
|
|
30
30
|
racc (~> 1.4)
|
|
31
31
|
psych (5.2.3)
|
|
32
32
|
date
|
data/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Intro
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!--
|
|
6
7
|
tag::forDocSite[]
|
|
7
8
|
-->
|
|
@@ -222,4 +223,4 @@ This library is built automatically to keep track of the FusionAuth API, and may
|
|
|
222
223
|
|
|
223
224
|
These releases may also update dependencies, language engines, and operating systems, as we\'ll follow the deprecation and sunsetting policies of the underlying technologies that it uses.
|
|
224
225
|
|
|
225
|
-
This means that after a dependency (e.g. language, framework, or operating system) is deprecated by its maintainer, this library will also be deprecated by us, and will eventually be updated to use a newer version.
|
|
226
|
+
This means that after a dependency (e.g. language, framework, or operating system) is deprecated by its maintainer, this library will also be deprecated by us, and will eventually be updated to use a newer version.
|
data/SECURITY.md
ADDED
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.
|
|
18
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.65.0", licenses: ["ApacheV2_0"]) {
|
|
19
19
|
workflow {
|
|
20
20
|
fetch {
|
|
21
21
|
cache()
|
data/fusionauth-ruby-client.iml
CHANGED
|
@@ -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>
|
data/fusionauth_client.gemspec
CHANGED
|
@@ -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.
|
|
22
|
+
spec.version = '1.65.0'
|
|
23
23
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
|
24
24
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
|
25
25
|
|
|
@@ -766,6 +766,20 @@ module FusionAuth
|
|
|
766
766
|
.go
|
|
767
767
|
end
|
|
768
768
|
|
|
769
|
+
#
|
|
770
|
+
# Creates a tenant manager identity provider type configuration for the given identity provider type.
|
|
771
|
+
#
|
|
772
|
+
# @param type [string] The type of the identity provider.
|
|
773
|
+
# @param request [OpenStruct, Hash] The request object that contains all the information used to create the tenant manager identity provider type configuration.
|
|
774
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
775
|
+
def create_tenant_manager_identity_provider_type_configuration(type, request)
|
|
776
|
+
start.uri('/api/tenant-manager/identity-provider')
|
|
777
|
+
.url_segment(type)
|
|
778
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
779
|
+
.post
|
|
780
|
+
.go
|
|
781
|
+
end
|
|
782
|
+
|
|
769
783
|
#
|
|
770
784
|
# Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
|
|
771
785
|
#
|
|
@@ -1269,6 +1283,18 @@ module FusionAuth
|
|
|
1269
1283
|
.go
|
|
1270
1284
|
end
|
|
1271
1285
|
|
|
1286
|
+
#
|
|
1287
|
+
# Deletes the tenant manager identity provider type configuration for the given identity provider type.
|
|
1288
|
+
#
|
|
1289
|
+
# @param type [string] The type of the identity provider.
|
|
1290
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
1291
|
+
def delete_tenant_manager_identity_provider_type_configuration(type)
|
|
1292
|
+
start.uri('/api/tenant-manager/identity-provider')
|
|
1293
|
+
.url_segment(type)
|
|
1294
|
+
.delete
|
|
1295
|
+
.go
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1272
1298
|
#
|
|
1273
1299
|
# Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
|
|
1274
1300
|
# with the tenant and everything under the tenant (applications, users, etc).
|
|
@@ -1920,6 +1946,7 @@ module FusionAuth
|
|
|
1920
1946
|
"client_id" => request.client_id,
|
|
1921
1947
|
"tenantId" => request.tenantId,
|
|
1922
1948
|
"token" => request.token,
|
|
1949
|
+
"token_type_hint" => request.token_type_hint,
|
|
1923
1950
|
}
|
|
1924
1951
|
startAnonymous.uri('/oauth2/introspect')
|
|
1925
1952
|
.body_handler(FusionAuth::FormDataBodyHandler.new(form_parameters))
|
|
@@ -2429,6 +2456,32 @@ module FusionAuth
|
|
|
2429
2456
|
.go
|
|
2430
2457
|
end
|
|
2431
2458
|
|
|
2459
|
+
#
|
|
2460
|
+
# Updates, via PATCH, the Tenant Manager configuration.
|
|
2461
|
+
#
|
|
2462
|
+
# @param request [OpenStruct, Hash] The request that contains just the new Tenant Manager configuration information.
|
|
2463
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2464
|
+
def patch_tenant_manager_configuration(request)
|
|
2465
|
+
start.uri('/api/tenant-manager')
|
|
2466
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
2467
|
+
.patch
|
|
2468
|
+
.go
|
|
2469
|
+
end
|
|
2470
|
+
|
|
2471
|
+
#
|
|
2472
|
+
# Patches the tenant manager identity provider type configuration for the given identity provider type.
|
|
2473
|
+
#
|
|
2474
|
+
# @param type [string] The type of the identity provider.
|
|
2475
|
+
# @param request [OpenStruct, Hash] The request object that contains the new tenant manager identity provider type configuration information.
|
|
2476
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2477
|
+
def patch_tenant_manager_identity_provider_type_configuration(type, request)
|
|
2478
|
+
start.uri('/api/tenant-manager/identity-provider')
|
|
2479
|
+
.url_segment(type)
|
|
2480
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
2481
|
+
.patch
|
|
2482
|
+
.go
|
|
2483
|
+
end
|
|
2484
|
+
|
|
2432
2485
|
#
|
|
2433
2486
|
# Updates, via PATCH, the theme with the given Id.
|
|
2434
2487
|
#
|
|
@@ -3075,6 +3128,18 @@ module FusionAuth
|
|
|
3075
3128
|
.go
|
|
3076
3129
|
end
|
|
3077
3130
|
|
|
3131
|
+
#
|
|
3132
|
+
# Retrieves the results for an identity provider connection test.
|
|
3133
|
+
#
|
|
3134
|
+
# @param connection_test_id [string] The connection test id to retrieve results for.
|
|
3135
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
3136
|
+
def retrieve_identity_provider_connection_test_results(connection_test_id)
|
|
3137
|
+
start.uri('/api/identity-provider/test')
|
|
3138
|
+
.url_parameter('connectionTestId', connection_test_id)
|
|
3139
|
+
.get
|
|
3140
|
+
.go
|
|
3141
|
+
end
|
|
3142
|
+
|
|
3078
3143
|
#
|
|
3079
3144
|
# Retrieves all the identity providers.
|
|
3080
3145
|
#
|
|
@@ -3564,6 +3629,16 @@ module FusionAuth
|
|
|
3564
3629
|
.go
|
|
3565
3630
|
end
|
|
3566
3631
|
|
|
3632
|
+
#
|
|
3633
|
+
# Retrieves the Tenant Manager configuration.
|
|
3634
|
+
#
|
|
3635
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
3636
|
+
def retrieve_tenant_manager_configuration
|
|
3637
|
+
start.uri('/api/tenant-manager')
|
|
3638
|
+
.get
|
|
3639
|
+
.go
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3567
3642
|
#
|
|
3568
3643
|
# Retrieves all the tenants.
|
|
3569
3644
|
#
|
|
@@ -4646,6 +4721,18 @@ module FusionAuth
|
|
|
4646
4721
|
.go
|
|
4647
4722
|
end
|
|
4648
4723
|
|
|
4724
|
+
#
|
|
4725
|
+
# Begins an identity provider connection test.
|
|
4726
|
+
#
|
|
4727
|
+
# @param request [OpenStruct, Hash] The request that contains information on the connection test.
|
|
4728
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
4729
|
+
def start_identity_provider_connection_test(request)
|
|
4730
|
+
start.uri('/api/identity-provider/test')
|
|
4731
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
4732
|
+
.post
|
|
4733
|
+
.go
|
|
4734
|
+
end
|
|
4735
|
+
|
|
4649
4736
|
#
|
|
4650
4737
|
# Begins a login request for a 3rd party login that requires user interaction such as HYPR.
|
|
4651
4738
|
#
|
|
@@ -5091,6 +5178,32 @@ module FusionAuth
|
|
|
5091
5178
|
.go
|
|
5092
5179
|
end
|
|
5093
5180
|
|
|
5181
|
+
#
|
|
5182
|
+
# Updates the Tenant Manager configuration.
|
|
5183
|
+
#
|
|
5184
|
+
# @param request [OpenStruct, Hash] The request that contains all the new Tenant Manager configuration information.
|
|
5185
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
5186
|
+
def update_tenant_manager_configuration(request)
|
|
5187
|
+
start.uri('/api/tenant-manager')
|
|
5188
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
5189
|
+
.put
|
|
5190
|
+
.go
|
|
5191
|
+
end
|
|
5192
|
+
|
|
5193
|
+
#
|
|
5194
|
+
# Updates the tenant manager identity provider type configuration for the given identity provider type.
|
|
5195
|
+
#
|
|
5196
|
+
# @param type [string] The type of the identity provider.
|
|
5197
|
+
# @param request [OpenStruct, Hash] The request object that contains the updated tenant manager identity provider type configuration.
|
|
5198
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
5199
|
+
def update_tenant_manager_identity_provider_type_configuration(type, request)
|
|
5200
|
+
start.uri('/api/tenant-manager/identity-provider')
|
|
5201
|
+
.url_segment(type)
|
|
5202
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
5203
|
+
.put
|
|
5204
|
+
.go
|
|
5205
|
+
end
|
|
5206
|
+
|
|
5094
5207
|
#
|
|
5095
5208
|
# Updates the theme with the given Id.
|
|
5096
5209
|
#
|
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.
|
|
4
|
+
version: 1.65.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-
|
|
11
|
+
date: 2026-04-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.
|
|
@@ -34,6 +34,7 @@ files:
|
|
|
34
34
|
- LICENSE.txt
|
|
35
35
|
- README.md
|
|
36
36
|
- Rakefile
|
|
37
|
+
- SECURITY.md
|
|
37
38
|
- build.savant
|
|
38
39
|
- doc/FusionAuth.html
|
|
39
40
|
- doc/FusionAuth.md
|