Skip to content

Commit 5e108a9

Browse files
committed
generate client libraries for /api/tenant-manager/identity-provider
ENG-3779
1 parent 9522a5c commit 5e108a9

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

src/main/python/fusionauth/fusionauth_client.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,20 @@ def create_tenant(self, request, tenant_id=None):
761761
.post() \
762762
.go()
763763

764+
def create_tenant_manager_identity_provider_type_configuration(self, _type, request):
765+
"""
766+
Creates a tenant manager identity provider type configuration for the given identity provider type.
767+
768+
Attributes:
769+
_type: The type of the identity provider.
770+
request: The request object that contains all the information used to create the tenant manager identity provider type configuration.
771+
"""
772+
return self.start().uri('/api/tenant-manager/identity-provider') \
773+
.url_segment(_type) \
774+
.body_handler(JSONBodyHandler(request)) \
775+
.post() \
776+
.go()
777+
764778
def create_theme(self, request, theme_id=None):
765779
"""
766780
Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
@@ -1264,6 +1278,18 @@ def delete_tenant_async(self, tenant_id):
12641278
.delete() \
12651279
.go()
12661280

1281+
def delete_tenant_manager_identity_provider_type_configuration(self, _type):
1282+
"""
1283+
Deletes the tenant manager identity provider type configuration for the given identity provider type.
1284+
1285+
Attributes:
1286+
_type: The type of the identity provider.
1287+
"""
1288+
return self.start().uri('/api/tenant-manager/identity-provider') \
1289+
.url_segment(_type) \
1290+
.delete() \
1291+
.go()
1292+
12671293
def delete_tenant_with_request(self, tenant_id, request):
12681294
"""
12691295
Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
@@ -5070,6 +5096,20 @@ def update_tenant(self, tenant_id, request):
50705096
.put() \
50715097
.go()
50725098

5099+
def update_tenant_manager_identity_provider_type_configuration(self, _type, request):
5100+
"""
5101+
Updates the tenant manager identity provider type configuration for the given identity provider type.
5102+
5103+
Attributes:
5104+
_type: The type of the identity provider.
5105+
request: The request object that contains the updated tenant manager identity provider type configuration.
5106+
"""
5107+
return self.start().uri('/api/tenant-manager/identity-provider') \
5108+
.url_segment(_type) \
5109+
.body_handler(JSONBodyHandler(request)) \
5110+
.put() \
5111+
.go()
5112+
50735113
def update_theme(self, theme_id, request):
50745114
"""
50755115
Updates the theme with the given Id.

0 commit comments

Comments
 (0)