Skip to content

Commit 2eee393

Browse files
committed
Domain sync
1 parent 9ac32d9 commit 2eee393

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

src/main/python/fusionauth/fusionauth_client.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def action_user(self, request):
4343
4444
Attributes:
4545
request: The action request that includes all the information about the action being taken including
46-
the id of the action, any options and the duration (if applicable).
46+
the Id of the action, any options and the duration (if applicable).
4747
"""
4848
return self.start().uri('/api/user/action') \
4949
.body_handler(JSONBodyHandler(request)) \
@@ -52,7 +52,7 @@ def action_user(self, request):
5252

5353
def activate_reactor(self, request):
5454
"""
55-
Activates the FusionAuth Reactor using a license id and optionally a license text (for air-gapped deployments)
55+
Activates the FusionAuth Reactor using a license Id and optionally a license text (for air-gapped deployments)
5656
5757
Attributes:
5858
request: An optional request that contains the license text to activate Reactor (useful for air-gap deployments of FusionAuth).
@@ -64,10 +64,10 @@ def activate_reactor(self, request):
6464

6565
def add_user_to_family(self, family_id, request):
6666
"""
67-
Adds a user to an existing family. The family id must be specified.
67+
Adds a user to an existing family. The family Id must be specified.
6868
6969
Attributes:
70-
family_id: The id of the family.
70+
family_id: The Id of the family.
7171
request: The request object that contains all the information used to determine which user to add to the family.
7272
"""
7373
return self.start().uri('/api/user/family') \
@@ -102,7 +102,7 @@ def cancel_action(self, action_id, request):
102102
Cancels the user action.
103103
104104
Attributes:
105-
action_id: The action id of the action to cancel.
105+
action_id: The action Id of the action to cancel.
106106
request: The action request that contains the information about the cancellation.
107107
"""
108108
return self.start().uri('/api/user/action') \
@@ -131,7 +131,7 @@ def change_password(self, change_password_id, request):
131131

132132
def change_password_by_identity(self, request):
133133
"""
134-
Changes a user's password using their identity (login id and password). Using a loginId instead of the changePasswordId
134+
Changes a user's password using their identity (loginId and password). Using a loginId instead of the changePasswordId
135135
bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword
136136
method.
137137
@@ -295,7 +295,7 @@ def create_application(self, request, application_id=None):
295295

296296
def create_application_role(self, application_id, request, role_id=None):
297297
"""
298-
Creates a new role for an application. You must specify the id of the application you are creating the role for.
298+
Creates a new role for an application. You must specify the Id of the application you are creating the role for.
299299
You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.
300300
301301
Attributes:
@@ -397,7 +397,7 @@ def create_entity_type(self, request, entity_type_id=None):
397397

398398
def create_entity_type_permission(self, entity_type_id, request, permission_id=None):
399399
"""
400-
Creates a new permission for an entity type. You must specify the id of the entity type you are creating the permission for.
400+
Creates a new permission for an entity type. You must specify the Id of the entity type you are creating the permission for.
401401
You can optionally specify an Id for the permission inside the EntityTypePermission object itself, if not provided one will be generated.
402402
403403
Attributes:
@@ -415,11 +415,11 @@ def create_entity_type_permission(self, entity_type_id, request, permission_id=N
415415

416416
def create_family(self, request, family_id=None):
417417
"""
418-
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
418+
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
419419
family, if not provided one will be generated.
420420
421421
Attributes:
422-
family_id: (Optional) The id for the family. If not provided a secure random UUID will be generated.
422+
family_id: (Optional) The Id for the family. If not provided a secure random UUID will be generated.
423423
request: The request object that contains all the information used to create the family.
424424
"""
425425
return self.start().uri('/api/user/family') \
@@ -1744,7 +1744,7 @@ def patch_application(self, application_id, request):
17441744

17451745
def patch_application_role(self, application_id, role_id, request):
17461746
"""
1747-
Updates, via PATCH, the application role with the given id for the application.
1747+
Updates, via PATCH, the application role with the given Id for the application.
17481748
17491749
Attributes:
17501750
application_id: The Id of the application that the role belongs to.
@@ -1899,7 +1899,7 @@ def patch_messenger(self, messenger_id, request):
18991899

19001900
def patch_registration(self, user_id, request):
19011901
"""
1902-
Updates, via PATCH, the registration for the user with the given id and the application defined in the request.
1902+
Updates, via PATCH, the registration for the user with the given Id and the application defined in the request.
19031903
19041904
Attributes:
19051905
user_id: The Id of the user whose registration is going to be updated.
@@ -2099,7 +2099,7 @@ def register(self, request, user_id=None):
20992099
Registers a user for an application. If you provide the User and the UserRegistration object on this request, it
21002100
will create the user as well as register them for the application. This is called a Full Registration. However, if
21012101
you only provide the UserRegistration object, then the user must already exist and they will be registered for the
2102-
application. The user id can also be provided and it will either be used to look up an existing user or it will be
2102+
application. The user Id can also be provided and it will either be used to look up an existing user or it will be
21032103
used for the newly created User.
21042104
21052105
Attributes:
@@ -2133,8 +2133,8 @@ def remove_user_from_family(self, family_id, user_id):
21332133
Removes a user from the family with the given id.
21342134
21352135
Attributes:
2136-
family_id: The id of the family to remove the user from.
2137-
user_id: The id of the user to remove from the family.
2136+
family_id: The Id of the family to remove the user from.
2137+
user_id: The Id of the user to remove from the family.
21382138
"""
21392139
return self.start().uri('/api/user/family') \
21402140
.url_segment(family_id) \
@@ -2249,7 +2249,7 @@ def retrieve_active_actions(self, user_id):
22492249

22502250
def retrieve_application(self, application_id=None):
22512251
"""
2252-
Retrieves the application for the given id or all the applications if the id is null.
2252+
Retrieves the application for the given Id or all the applications if the Id is null.
22532253
22542254
Attributes:
22552255
application_id: (Optional) The application id.
@@ -2545,7 +2545,7 @@ def retrieve_ip_access_control_list(self, ip_access_control_list_id):
25452545

25462546
def retrieve_identity_provider(self, identity_provider_id):
25472547
"""
2548-
Retrieves the identity provider for the given id or all the identity providers if the id is null.
2548+
Retrieves the identity provider for the given Id or all the identity providers if the Id is null.
25492549
25502550
Attributes:
25512551
identity_provider_id: The identity provider Id.
@@ -2951,7 +2951,7 @@ def retrieve_refresh_tokens(self, user_id):
29512951

29522952
def retrieve_registration(self, user_id, application_id):
29532953
"""
2954-
Retrieves the user registration for the user with the given id and the given application id.
2954+
Retrieves the user registration for the user with the given Id and the given application id.
29552955
29562956
Attributes:
29572957
user_id: The Id of the user.
@@ -3476,8 +3476,8 @@ def revoke_refresh_token(self, token=None, user_id=None, application_id=None):
34763476
34773477
Attributes:
34783478
token: (Optional) The refresh token to delete.
3479-
user_id: (Optional) The user id whose tokens to delete.
3480-
application_id: (Optional) The application id of the tokens to delete.
3479+
user_id: (Optional) The user Id whose tokens to delete.
3480+
application_id: (Optional) The application Id of the tokens to delete.
34813481
"""
34823482
return self.start().uri('/api/jwt/refresh') \
34833483
.url_parameter('token', self.convert_true_false(token)) \
@@ -3635,7 +3635,7 @@ def search_entities(self, request):
36353635

36363636
def search_entities_by_ids(self, ids):
36373637
"""
3638-
Retrieves the entities for the given ids. If any id is invalid, it is ignored.
3638+
Retrieves the entities for the given ids. If any Id is invalid, it is ignored.
36393639
36403640
Attributes:
36413641
ids: The entity ids to search for.
@@ -3804,7 +3804,7 @@ def search_user_comments(self, request):
38043804
@deprecated("This method has been renamed to search_users_by_ids, use that method instead.")
38053805
def search_users(self, ids):
38063806
"""
3807-
Retrieves the users for the given ids. If any id is invalid, it is ignored.
3807+
Retrieves the users for the given ids. If any Id is invalid, it is ignored.
38083808
38093809
Attributes:
38103810
ids: The user ids to search for.
@@ -3816,7 +3816,7 @@ def search_users(self, ids):
38163816

38173817
def search_users_by_ids(self, ids):
38183818
"""
3819-
Retrieves the users for the given ids. If any id is invalid, it is ignored.
3819+
Retrieves the users for the given ids. If any Id is invalid, it is ignored.
38203820
38213821
Attributes:
38223822
ids: The user ids to search for.
@@ -3871,7 +3871,7 @@ def send_email(self, email_template_id, request):
38713871
pairs in the email template.
38723872
38733873
Attributes:
3874-
email_template_id: The id for the template.
3874+
email_template_id: The Id for the template.
38753875
request: The send email request that contains all the information used to send the email.
38763876
"""
38773877
return self.start().uri('/api/email/send') \
@@ -4065,7 +4065,7 @@ def update_application(self, application_id, request):
40654065

40664066
def update_application_role(self, application_id, role_id, request):
40674067
"""
4068-
Updates the application role with the given id for the application.
4068+
Updates the application role with the given Id for the application.
40694069
40704070
Attributes:
40714071
application_id: The Id of the application that the role belongs to.
@@ -4152,7 +4152,7 @@ def update_entity_type(self, entity_type_id, request):
41524152

41534153
def update_entity_type_permission(self, entity_type_id, permission_id, request):
41544154
"""
4155-
Updates the permission with the given id for the entity type.
4155+
Updates the permission with the given Id for the entity type.
41564156
41574157
Attributes:
41584158
entity_type_id: The Id of the entityType that the permission belongs to.
@@ -4319,7 +4319,7 @@ def update_messenger(self, messenger_id, request):
43194319

43204320
def update_registration(self, user_id, request):
43214321
"""
4322-
Updates the registration for the user with the given id and the application defined in the request.
4322+
Updates the registration for the user with the given Id and the application defined in the request.
43234323
43244324
Attributes:
43254325
user_id: The Id of the user whose registration is going to be updated.
@@ -4512,7 +4512,7 @@ def verify_email(self, verification_id):
45124512
Confirms a email verification. The Id given is usually from an email sent to the user.
45134513
45144514
Attributes:
4515-
verification_id: The email verification id sent to the user.
4515+
verification_id: The email verification Id sent to the user.
45164516
"""
45174517
return self.start_anonymous().uri('/api/user/verify-email') \
45184518
.url_segment(verification_id) \

0 commit comments

Comments
 (0)