fusionauth_client 1.47.0 → 1.49.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/build.savant +1 -1
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +28 -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: a52be92b848e67c0506bf9706082bd7cd0fe08a4c4caceedd7c10f45c8d5533c
|
4
|
+
data.tar.gz: 6c6ccec915997b8162b4c2b43f0b30e1faf9cf29e1da377564584186e8e15199
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a70a442af01bc63721eee306616a3018bb61eac5ffd9fdf0d70bc7c1b98a6fd06cd95491e1bf54151314610e6d1454ae93f919739a423e8328360979f7663db
|
7
|
+
data.tar.gz: ce1fd04311af248318fe103c184a76318ac64a68219659492a43a1898d7ace0a20e70d817bbb3928a2015033f4829391044a709774fe93b5e10c9e968249dbd5
|
data/Gemfile.lock
CHANGED
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.49.1", licenses: ["ApacheV2_0"]) {
|
19
19
|
workflow {
|
20
20
|
fetch {
|
21
21
|
cache()
|
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.49.1'
|
23
23
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
24
24
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
25
25
|
|
@@ -46,7 +46,7 @@ module FusionAuth
|
|
46
46
|
# "actioner". Both user ids are required in the request object.
|
47
47
|
#
|
48
48
|
# @param request [OpenStruct, Hash] The action request that includes all the information about the action being taken including
|
49
|
-
# the
|
49
|
+
# the Id of the action, any options and the duration (if applicable).
|
50
50
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
51
51
|
def action_user(request)
|
52
52
|
start.uri('/api/user/action')
|
@@ -56,7 +56,7 @@ module FusionAuth
|
|
56
56
|
end
|
57
57
|
|
58
58
|
#
|
59
|
-
# Activates the FusionAuth Reactor using a license
|
59
|
+
# Activates the FusionAuth Reactor using a license Id and optionally a license text (for air-gapped deployments)
|
60
60
|
#
|
61
61
|
# @param request [OpenStruct, Hash] An optional request that contains the license text to activate Reactor (useful for air-gap deployments of FusionAuth).
|
62
62
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -68,9 +68,9 @@ module FusionAuth
|
|
68
68
|
end
|
69
69
|
|
70
70
|
#
|
71
|
-
# Adds a user to an existing family. The family
|
71
|
+
# Adds a user to an existing family. The family Id must be specified.
|
72
72
|
#
|
73
|
-
# @param family_id [string] The
|
73
|
+
# @param family_id [string] The Id of the family.
|
74
74
|
# @param request [OpenStruct, Hash] The request object that contains all the information used to determine which user to add to the family.
|
75
75
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
76
76
|
def add_user_to_family(family_id, request)
|
@@ -105,7 +105,7 @@ module FusionAuth
|
|
105
105
|
#
|
106
106
|
# Cancels the user action.
|
107
107
|
#
|
108
|
-
# @param action_id [string] The action
|
108
|
+
# @param action_id [string] The action Id of the action to cancel.
|
109
109
|
# @param request [OpenStruct, Hash] The action request that contains the information about the cancellation.
|
110
110
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
111
111
|
def cancel_action(action_id, request)
|
@@ -135,7 +135,7 @@ module FusionAuth
|
|
135
135
|
end
|
136
136
|
|
137
137
|
#
|
138
|
-
# Changes a user's password using their identity (
|
138
|
+
# Changes a user's password using their identity (loginId and password). Using a loginId instead of the changePasswordId
|
139
139
|
# bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword
|
140
140
|
# method.
|
141
141
|
#
|
@@ -299,7 +299,7 @@ module FusionAuth
|
|
299
299
|
end
|
300
300
|
|
301
301
|
#
|
302
|
-
# Creates a new role for an application. You must specify the
|
302
|
+
# Creates a new role for an application. You must specify the Id of the application you are creating the role for.
|
303
303
|
# You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.
|
304
304
|
#
|
305
305
|
# @param application_id [string] The Id of the application to create the role on.
|
@@ -401,7 +401,7 @@ module FusionAuth
|
|
401
401
|
end
|
402
402
|
|
403
403
|
#
|
404
|
-
# Creates a new permission for an entity type. You must specify the
|
404
|
+
# Creates a new permission for an entity type. You must specify the Id of the entity type you are creating the permission for.
|
405
405
|
# You can optionally specify an Id for the permission inside the EntityTypePermission object itself, if not provided one will be generated.
|
406
406
|
#
|
407
407
|
# @param entity_type_id [string] The Id of the entity type to create the permission on.
|
@@ -419,10 +419,10 @@ module FusionAuth
|
|
419
419
|
end
|
420
420
|
|
421
421
|
#
|
422
|
-
# Creates a family with the user
|
422
|
+
# Creates a family with the user Id in the request as the owner and sole member of the family. You can optionally specify an Id for the
|
423
423
|
# family, if not provided one will be generated.
|
424
424
|
#
|
425
|
-
# @param family_id [string] (Optional) The
|
425
|
+
# @param family_id [string] (Optional) The Id for the family. If not provided a secure random UUID will be generated.
|
426
426
|
# @param request [OpenStruct, Hash] The request object that contains all the information used to create the family.
|
427
427
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
428
428
|
def create_family(family_id, request)
|
@@ -1748,7 +1748,7 @@ module FusionAuth
|
|
1748
1748
|
end
|
1749
1749
|
|
1750
1750
|
#
|
1751
|
-
# Updates, via PATCH, the application role with the given
|
1751
|
+
# Updates, via PATCH, the application role with the given Id for the application.
|
1752
1752
|
#
|
1753
1753
|
# @param application_id [string] The Id of the application that the role belongs to.
|
1754
1754
|
# @param role_id [string] The Id of the role to update.
|
@@ -1903,7 +1903,7 @@ module FusionAuth
|
|
1903
1903
|
end
|
1904
1904
|
|
1905
1905
|
#
|
1906
|
-
# Updates, via PATCH, the registration for the user with the given
|
1906
|
+
# Updates, via PATCH, the registration for the user with the given Id and the application defined in the request.
|
1907
1907
|
#
|
1908
1908
|
# @param user_id [string] The Id of the user whose registration is going to be updated.
|
1909
1909
|
# @param request [OpenStruct, Hash] The request that contains just the new registration information.
|
@@ -2103,7 +2103,7 @@ module FusionAuth
|
|
2103
2103
|
# Registers a user for an application. If you provide the User and the UserRegistration object on this request, it
|
2104
2104
|
# will create the user as well as register them for the application. This is called a Full Registration. However, if
|
2105
2105
|
# you only provide the UserRegistration object, then the user must already exist and they will be registered for the
|
2106
|
-
# application. The user
|
2106
|
+
# application. The user Id can also be provided and it will either be used to look up an existing user or it will be
|
2107
2107
|
# used for the newly created User.
|
2108
2108
|
#
|
2109
2109
|
# @param user_id [string] (Optional) The Id of the user being registered for the application and optionally created.
|
@@ -2136,8 +2136,8 @@ module FusionAuth
|
|
2136
2136
|
#
|
2137
2137
|
# Removes a user from the family with the given id.
|
2138
2138
|
#
|
2139
|
-
# @param family_id [string] The
|
2140
|
-
# @param user_id [string] The
|
2139
|
+
# @param family_id [string] The Id of the family to remove the user from.
|
2140
|
+
# @param user_id [string] The Id of the user to remove from the family.
|
2141
2141
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
2142
2142
|
def remove_user_from_family(family_id, user_id)
|
2143
2143
|
start.uri('/api/user/family')
|
@@ -2253,7 +2253,7 @@ module FusionAuth
|
|
2253
2253
|
end
|
2254
2254
|
|
2255
2255
|
#
|
2256
|
-
# Retrieves the application for the given
|
2256
|
+
# Retrieves the application for the given Id or all the applications if the Id is null.
|
2257
2257
|
#
|
2258
2258
|
# @param application_id [string] (Optional) The application id.
|
2259
2259
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -2549,7 +2549,7 @@ module FusionAuth
|
|
2549
2549
|
end
|
2550
2550
|
|
2551
2551
|
#
|
2552
|
-
# Retrieves the identity provider for the given
|
2552
|
+
# Retrieves the identity provider for the given Id or all the identity providers if the Id is null.
|
2553
2553
|
#
|
2554
2554
|
# @param identity_provider_id [string] The identity provider Id.
|
2555
2555
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -2955,7 +2955,7 @@ module FusionAuth
|
|
2955
2955
|
end
|
2956
2956
|
|
2957
2957
|
#
|
2958
|
-
# Retrieves the user registration for the user with the given
|
2958
|
+
# Retrieves the user registration for the user with the given Id and the given application id.
|
2959
2959
|
#
|
2960
2960
|
# @param user_id [string] The Id of the user.
|
2961
2961
|
# @param application_id [string] The Id of the application.
|
@@ -3479,8 +3479,8 @@ module FusionAuth
|
|
3479
3479
|
# - revokeRefreshTokensByUserIdForApplication
|
3480
3480
|
#
|
3481
3481
|
# @param token [string] (Optional) The refresh token to delete.
|
3482
|
-
# @param user_id [string] (Optional) The user
|
3483
|
-
# @param application_id [string] (Optional) The application
|
3482
|
+
# @param user_id [string] (Optional) The user Id whose tokens to delete.
|
3483
|
+
# @param application_id [string] (Optional) The application Id of the tokens to delete.
|
3484
3484
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
3485
3485
|
def revoke_refresh_token(token, user_id, application_id)
|
3486
3486
|
start.uri('/api/jwt/refresh')
|
@@ -3639,7 +3639,7 @@ module FusionAuth
|
|
3639
3639
|
end
|
3640
3640
|
|
3641
3641
|
#
|
3642
|
-
# Retrieves the entities for the given ids. If any
|
3642
|
+
# Retrieves the entities for the given ids. If any Id is invalid, it is ignored.
|
3643
3643
|
#
|
3644
3644
|
# @param ids [Array] The entity ids to search for.
|
3645
3645
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -3807,7 +3807,7 @@ module FusionAuth
|
|
3807
3807
|
end
|
3808
3808
|
|
3809
3809
|
#
|
3810
|
-
# Retrieves the users for the given ids. If any
|
3810
|
+
# Retrieves the users for the given ids. If any Id is invalid, it is ignored.
|
3811
3811
|
#
|
3812
3812
|
# @param ids [Array] The user ids to search for.
|
3813
3813
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -3820,7 +3820,7 @@ module FusionAuth
|
|
3820
3820
|
end
|
3821
3821
|
|
3822
3822
|
#
|
3823
|
-
# Retrieves the users for the given ids. If any
|
3823
|
+
# Retrieves the users for the given ids. If any Id is invalid, it is ignored.
|
3824
3824
|
#
|
3825
3825
|
# @param ids [Array] The user ids to search for.
|
3826
3826
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
@@ -3874,7 +3874,7 @@ module FusionAuth
|
|
3874
3874
|
# Send an email using an email template id. You can optionally provide <code>requestData</code> to access key value
|
3875
3875
|
# pairs in the email template.
|
3876
3876
|
#
|
3877
|
-
# @param email_template_id [string] The
|
3877
|
+
# @param email_template_id [string] The Id for the template.
|
3878
3878
|
# @param request [OpenStruct, Hash] The send email request that contains all the information used to send the email.
|
3879
3879
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
3880
3880
|
def send_email(email_template_id, request)
|
@@ -4069,7 +4069,7 @@ module FusionAuth
|
|
4069
4069
|
end
|
4070
4070
|
|
4071
4071
|
#
|
4072
|
-
# Updates the application role with the given
|
4072
|
+
# Updates the application role with the given Id for the application.
|
4073
4073
|
#
|
4074
4074
|
# @param application_id [string] The Id of the application that the role belongs to.
|
4075
4075
|
# @param role_id [string] The Id of the role to update.
|
@@ -4156,7 +4156,7 @@ module FusionAuth
|
|
4156
4156
|
end
|
4157
4157
|
|
4158
4158
|
#
|
4159
|
-
# Updates the permission with the given
|
4159
|
+
# Updates the permission with the given Id for the entity type.
|
4160
4160
|
#
|
4161
4161
|
# @param entity_type_id [string] The Id of the entityType that the permission belongs to.
|
4162
4162
|
# @param permission_id [string] The Id of the permission to update.
|
@@ -4323,7 +4323,7 @@ module FusionAuth
|
|
4323
4323
|
end
|
4324
4324
|
|
4325
4325
|
#
|
4326
|
-
# Updates the registration for the user with the given
|
4326
|
+
# Updates the registration for the user with the given Id and the application defined in the request.
|
4327
4327
|
#
|
4328
4328
|
# @param user_id [string] The Id of the user whose registration is going to be updated.
|
4329
4329
|
# @param request [OpenStruct, Hash] The request that contains all the new registration information.
|
@@ -4514,7 +4514,7 @@ module FusionAuth
|
|
4514
4514
|
#
|
4515
4515
|
# Confirms a email verification. The Id given is usually from an email sent to the user.
|
4516
4516
|
#
|
4517
|
-
# @param verification_id [string] The email verification
|
4517
|
+
# @param verification_id [string] The email verification Id sent to the user.
|
4518
4518
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
4519
4519
|
# @deprecated This method has been renamed to verify_email_address and changed to take a JSON request body, use that method instead.
|
4520
4520
|
def verify_email(verification_id)
|
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.49.1
|
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:
|
12
|
+
date: 2024-03-07 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.
|