fusionauth_client 1.34.0 → 1.36.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/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/build.savant +1 -1
- data/fusionauth-ruby-client.iml +1 -0
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +52 -28
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f821148b188a2af1ed2e36d1c24b0fdae610792f4ebabe404e226bd6964d451
|
|
4
|
+
data.tar.gz: a98b63e213361a0f0f7d759ca14294b8350596c9f8c27107baaf6ba1a4c36107
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 063a4e86f5c39639528877e9b0d2e041d0324e004465e3ad7b7232fe2ae663105c758f91a000f15c911399daf3ab5c60cf13a57458abcb880b12d56d7d0b99b7
|
|
7
|
+
data.tar.gz: 76cfedf73cff40f2383f9448e1db57bbed078c8b9fab7fbf526fd1f82885bab44c322a122e5918ac72d32f1269b98ce526bbefc58357161cc71cad9706cbdb96
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -63,7 +63,7 @@ user = response.success.response.user
|
|
|
63
63
|
|
|
64
64
|
If you have a question or support issue regarding this client library, we'd love to hear from you.
|
|
65
65
|
|
|
66
|
-
If you have a paid edition with support included, please [open a ticket in your account portal](https://account.fusionauth.io/account/support/). Learn more about [paid editions here](https://fusionauth.io/pricing
|
|
66
|
+
If you have a paid edition with support included, please [open a ticket in your account portal](https://account.fusionauth.io/account/support/). Learn more about [paid editions here](https://fusionauth.io/pricing).
|
|
67
67
|
|
|
68
68
|
Otherwise, please [post your question in the community forum](https://fusionauth.io/community/forum/).
|
|
69
69
|
|
data/build.savant
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
savantVersion = "1.0.0"
|
|
17
17
|
|
|
18
18
|
pubVersion = ""
|
|
19
|
-
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.
|
|
19
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.36.0", licenses: ["ApacheV2_0"]) {
|
|
20
20
|
workflow {
|
|
21
21
|
fetch {
|
|
22
22
|
cache()
|
data/fusionauth-ruby-client.iml
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
<orderEntry type="jdk" jdkName="rbenv: 2.5.9" jdkType="RUBY_SDK" />
|
|
10
10
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
11
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.5, rbenv: 2.5.9) [gem]" level="application" />
|
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.3, rbenv: 2.5.9) [gem]" level="application" />
|
|
12
13
|
<orderEntry type="library" scope="PROVIDED" name="rake (v12.3.3, rbenv: 2.5.9) [gem]" level="application" />
|
|
13
14
|
</component>
|
|
14
15
|
<component name="RakeTasksCache">
|
data/fusionauth_client.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'fusionauth_client'
|
|
7
|
-
spec.version = '1.
|
|
7
|
+
spec.version = '1.36.0'
|
|
8
8
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
|
9
9
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
|
10
10
|
|
|
@@ -2076,7 +2076,7 @@ module FusionAuth
|
|
|
2076
2076
|
end
|
|
2077
2077
|
|
|
2078
2078
|
#
|
|
2079
|
-
# Retrieves all
|
|
2079
|
+
# Retrieves all the actions for the user with the given Id. This will return all time based actions that are active,
|
|
2080
2080
|
# and inactive as well as non-time based actions.
|
|
2081
2081
|
#
|
|
2082
2082
|
# @param user_id [string] The Id of the user to fetch the actions for.
|
|
@@ -2089,7 +2089,7 @@ module FusionAuth
|
|
|
2089
2089
|
end
|
|
2090
2090
|
|
|
2091
2091
|
#
|
|
2092
|
-
# Retrieves all
|
|
2092
|
+
# Retrieves all the actions for the user with the given Id that are currently preventing the User from logging in.
|
|
2093
2093
|
#
|
|
2094
2094
|
# @param user_id [string] The Id of the user to fetch the actions for.
|
|
2095
2095
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -2102,7 +2102,7 @@ module FusionAuth
|
|
|
2102
2102
|
end
|
|
2103
2103
|
|
|
2104
2104
|
#
|
|
2105
|
-
# Retrieves all
|
|
2105
|
+
# Retrieves all the actions for the user with the given Id that are currently active.
|
|
2106
2106
|
# An active action means one that is time based and has not been canceled, and has not ended.
|
|
2107
2107
|
#
|
|
2108
2108
|
# @param user_id [string] The Id of the user to fetch the actions for.
|
|
@@ -2128,7 +2128,7 @@ module FusionAuth
|
|
|
2128
2128
|
end
|
|
2129
2129
|
|
|
2130
2130
|
#
|
|
2131
|
-
# Retrieves all
|
|
2131
|
+
# Retrieves all the applications.
|
|
2132
2132
|
#
|
|
2133
2133
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2134
2134
|
def retrieve_applications()
|
|
@@ -2162,7 +2162,7 @@ module FusionAuth
|
|
|
2162
2162
|
end
|
|
2163
2163
|
|
|
2164
2164
|
#
|
|
2165
|
-
# Retrieves all
|
|
2165
|
+
# Retrieves all the connectors.
|
|
2166
2166
|
#
|
|
2167
2167
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2168
2168
|
def retrieve_connectors()
|
|
@@ -2184,7 +2184,7 @@ module FusionAuth
|
|
|
2184
2184
|
end
|
|
2185
2185
|
|
|
2186
2186
|
#
|
|
2187
|
-
# Retrieves all
|
|
2187
|
+
# Retrieves all the consent.
|
|
2188
2188
|
#
|
|
2189
2189
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2190
2190
|
def retrieve_consents()
|
|
@@ -2237,7 +2237,7 @@ module FusionAuth
|
|
|
2237
2237
|
end
|
|
2238
2238
|
|
|
2239
2239
|
#
|
|
2240
|
-
# Retrieves all
|
|
2240
|
+
# Retrieves all the email templates.
|
|
2241
2241
|
#
|
|
2242
2242
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2243
2243
|
def retrieve_email_templates()
|
|
@@ -2288,7 +2288,7 @@ module FusionAuth
|
|
|
2288
2288
|
end
|
|
2289
2289
|
|
|
2290
2290
|
#
|
|
2291
|
-
# Retrieves all
|
|
2291
|
+
# Retrieves all the Entity Types.
|
|
2292
2292
|
#
|
|
2293
2293
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2294
2294
|
def retrieve_entity_types()
|
|
@@ -2310,7 +2310,7 @@ module FusionAuth
|
|
|
2310
2310
|
end
|
|
2311
2311
|
|
|
2312
2312
|
#
|
|
2313
|
-
# Retrieves all
|
|
2313
|
+
# Retrieves all the families that a user belongs to.
|
|
2314
2314
|
#
|
|
2315
2315
|
# @param user_id [string] The User's id
|
|
2316
2316
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -2322,7 +2322,7 @@ module FusionAuth
|
|
|
2322
2322
|
end
|
|
2323
2323
|
|
|
2324
2324
|
#
|
|
2325
|
-
# Retrieves all
|
|
2325
|
+
# Retrieves all the members of a family by the unique Family Id.
|
|
2326
2326
|
#
|
|
2327
2327
|
# @param family_id [string] The unique Id of the Family.
|
|
2328
2328
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -2358,7 +2358,7 @@ module FusionAuth
|
|
|
2358
2358
|
end
|
|
2359
2359
|
|
|
2360
2360
|
#
|
|
2361
|
-
# Retrieves all
|
|
2361
|
+
# Retrieves all the forms fields
|
|
2362
2362
|
#
|
|
2363
2363
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2364
2364
|
def retrieve_form_fields()
|
|
@@ -2368,7 +2368,7 @@ module FusionAuth
|
|
|
2368
2368
|
end
|
|
2369
2369
|
|
|
2370
2370
|
#
|
|
2371
|
-
# Retrieves all
|
|
2371
|
+
# Retrieves all the forms.
|
|
2372
2372
|
#
|
|
2373
2373
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2374
2374
|
def retrieve_forms()
|
|
@@ -2390,7 +2390,7 @@ module FusionAuth
|
|
|
2390
2390
|
end
|
|
2391
2391
|
|
|
2392
2392
|
#
|
|
2393
|
-
# Retrieves all
|
|
2393
|
+
# Retrieves all the groups.
|
|
2394
2394
|
#
|
|
2395
2395
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2396
2396
|
def retrieve_groups()
|
|
@@ -2438,7 +2438,7 @@ module FusionAuth
|
|
|
2438
2438
|
end
|
|
2439
2439
|
|
|
2440
2440
|
#
|
|
2441
|
-
# Retrieves all
|
|
2441
|
+
# Retrieves all the identity providers.
|
|
2442
2442
|
#
|
|
2443
2443
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2444
2444
|
def retrieve_identity_providers()
|
|
@@ -2448,7 +2448,7 @@ module FusionAuth
|
|
|
2448
2448
|
end
|
|
2449
2449
|
|
|
2450
2450
|
#
|
|
2451
|
-
# Retrieves all
|
|
2451
|
+
# Retrieves all the actions for the user with the given Id that are currently inactive.
|
|
2452
2452
|
# An inactive action means one that is time based and has been canceled or has expired, or is not time based.
|
|
2453
2453
|
#
|
|
2454
2454
|
# @param user_id [string] The Id of the user to fetch the actions for.
|
|
@@ -2462,7 +2462,7 @@ module FusionAuth
|
|
|
2462
2462
|
end
|
|
2463
2463
|
|
|
2464
2464
|
#
|
|
2465
|
-
# Retrieves all
|
|
2465
|
+
# Retrieves all the applications that are currently inactive.
|
|
2466
2466
|
#
|
|
2467
2467
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2468
2468
|
def retrieve_inactive_applications()
|
|
@@ -2473,7 +2473,7 @@ module FusionAuth
|
|
|
2473
2473
|
end
|
|
2474
2474
|
|
|
2475
2475
|
#
|
|
2476
|
-
# Retrieves all
|
|
2476
|
+
# Retrieves all the user actions that are currently inactive.
|
|
2477
2477
|
#
|
|
2478
2478
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2479
2479
|
def retrieve_inactive_user_actions()
|
|
@@ -2550,7 +2550,7 @@ module FusionAuth
|
|
|
2550
2550
|
end
|
|
2551
2551
|
|
|
2552
2552
|
#
|
|
2553
|
-
# Retrieves all
|
|
2553
|
+
# Retrieves all the keys.
|
|
2554
2554
|
#
|
|
2555
2555
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2556
2556
|
def retrieve_keys()
|
|
@@ -2572,7 +2572,7 @@ module FusionAuth
|
|
|
2572
2572
|
end
|
|
2573
2573
|
|
|
2574
2574
|
#
|
|
2575
|
-
# Retrieves all
|
|
2575
|
+
# Retrieves all the lambdas.
|
|
2576
2576
|
#
|
|
2577
2577
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2578
2578
|
def retrieve_lambdas()
|
|
@@ -2582,7 +2582,7 @@ module FusionAuth
|
|
|
2582
2582
|
end
|
|
2583
2583
|
|
|
2584
2584
|
#
|
|
2585
|
-
# Retrieves all
|
|
2585
|
+
# Retrieves all the lambdas for the provided type.
|
|
2586
2586
|
#
|
|
2587
2587
|
# @param type [OpenStruct, Hash] The type of the lambda to return.
|
|
2588
2588
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -2635,7 +2635,7 @@ module FusionAuth
|
|
|
2635
2635
|
end
|
|
2636
2636
|
|
|
2637
2637
|
#
|
|
2638
|
-
# Retrieves all
|
|
2638
|
+
# Retrieves all the message templates.
|
|
2639
2639
|
#
|
|
2640
2640
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2641
2641
|
def retrieve_message_templates()
|
|
@@ -2657,7 +2657,7 @@ module FusionAuth
|
|
|
2657
2657
|
end
|
|
2658
2658
|
|
|
2659
2659
|
#
|
|
2660
|
-
# Retrieves all
|
|
2660
|
+
# Retrieves all the messengers.
|
|
2661
2661
|
#
|
|
2662
2662
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2663
2663
|
def retrieve_messengers()
|
|
@@ -2734,7 +2734,7 @@ module FusionAuth
|
|
|
2734
2734
|
end
|
|
2735
2735
|
|
|
2736
2736
|
#
|
|
2737
|
-
# Retrieves all
|
|
2737
|
+
# Retrieves all the children for the given parent email address.
|
|
2738
2738
|
#
|
|
2739
2739
|
# @param parent_email [string] The email of the parent.
|
|
2740
2740
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -2868,7 +2868,7 @@ module FusionAuth
|
|
|
2868
2868
|
end
|
|
2869
2869
|
|
|
2870
2870
|
#
|
|
2871
|
-
# Retrieves all
|
|
2871
|
+
# Retrieves all the tenants.
|
|
2872
2872
|
#
|
|
2873
2873
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2874
2874
|
def retrieve_tenants()
|
|
@@ -2890,7 +2890,7 @@ module FusionAuth
|
|
|
2890
2890
|
end
|
|
2891
2891
|
|
|
2892
2892
|
#
|
|
2893
|
-
# Retrieves all
|
|
2893
|
+
# Retrieves all the themes.
|
|
2894
2894
|
#
|
|
2895
2895
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2896
2896
|
def retrieve_themes()
|
|
@@ -2971,7 +2971,7 @@ module FusionAuth
|
|
|
2971
2971
|
end
|
|
2972
2972
|
|
|
2973
2973
|
#
|
|
2974
|
-
# Retrieves all
|
|
2974
|
+
# Retrieves all the user actions.
|
|
2975
2975
|
#
|
|
2976
2976
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2977
2977
|
def retrieve_user_actions()
|
|
@@ -3043,7 +3043,7 @@ module FusionAuth
|
|
|
3043
3043
|
end
|
|
3044
3044
|
|
|
3045
3045
|
#
|
|
3046
|
-
# Retrieves all
|
|
3046
|
+
# Retrieves all the comments for the user with the given Id.
|
|
3047
3047
|
#
|
|
3048
3048
|
# @param user_id [string] The Id of the user.
|
|
3049
3049
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -3067,7 +3067,7 @@ module FusionAuth
|
|
|
3067
3067
|
end
|
|
3068
3068
|
|
|
3069
3069
|
#
|
|
3070
|
-
# Retrieves all
|
|
3070
|
+
# Retrieves all the consents for a User.
|
|
3071
3071
|
#
|
|
3072
3072
|
# @param user_id [string] The User's Id
|
|
3073
3073
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
@@ -3416,6 +3416,18 @@ module FusionAuth
|
|
|
3416
3416
|
.go()
|
|
3417
3417
|
end
|
|
3418
3418
|
|
|
3419
|
+
#
|
|
3420
|
+
# Searches group members with the specified criteria and pagination.
|
|
3421
|
+
#
|
|
3422
|
+
# @param request [OpenStruct, Hash] The search criteria and pagination information.
|
|
3423
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
3424
|
+
def search_group_members(request)
|
|
3425
|
+
start.uri('/api/group/member/search')
|
|
3426
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
3427
|
+
.post()
|
|
3428
|
+
.go()
|
|
3429
|
+
end
|
|
3430
|
+
|
|
3419
3431
|
#
|
|
3420
3432
|
# Searches the IP Access Control Lists with the specified criteria and pagination.
|
|
3421
3433
|
#
|
|
@@ -3812,6 +3824,18 @@ module FusionAuth
|
|
|
3812
3824
|
.go()
|
|
3813
3825
|
end
|
|
3814
3826
|
|
|
3827
|
+
#
|
|
3828
|
+
# Creates a member in a group.
|
|
3829
|
+
#
|
|
3830
|
+
# @param request [OpenStruct, Hash] The request object that contains all the information used to create the group member(s).
|
|
3831
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
3832
|
+
def update_group_members(request)
|
|
3833
|
+
start.uri('/api/group/member')
|
|
3834
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
3835
|
+
.put()
|
|
3836
|
+
.go()
|
|
3837
|
+
end
|
|
3838
|
+
|
|
3815
3839
|
#
|
|
3816
3840
|
# Updates the IP Access Control List with the given Id.
|
|
3817
3841
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fusionauth_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.36.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Pontarelli
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-
|
|
12
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: This library contains the Ruby client library that helps you connect
|
|
15
15
|
your application to FusionAuth.
|