Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions src/main/python/fusionauth/fusionauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,20 @@ def create_tenant(self, request, tenant_id=None):
.post() \
.go()

def create_tenant_manager_identity_provider_type_configuration(self, _type, request):
"""
Creates a tenant manager identity provider type configuration for the given identity provider type.

Attributes:
_type: The type of the identity provider.
request: The request object that contains all the information used to create the tenant manager identity provider type configuration.
"""
return self.start().uri('/api/tenant-manager/identity-provider') \
.url_segment(_type) \
.body_handler(JSONBodyHandler(request)) \
.post() \
.go()

def create_theme(self, request, theme_id=None):
"""
Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
Expand Down Expand Up @@ -1264,6 +1278,18 @@ def delete_tenant_async(self, tenant_id):
.delete() \
.go()

def delete_tenant_manager_identity_provider_type_configuration(self, _type):
"""
Deletes the tenant manager identity provider type configuration for the given identity provider type.

Attributes:
_type: The type of the identity provider.
"""
return self.start().uri('/api/tenant-manager/identity-provider') \
.url_segment(_type) \
.delete() \
.go()

def delete_tenant_with_request(self, tenant_id, request):
"""
Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
Expand Down Expand Up @@ -5070,6 +5096,20 @@ def update_tenant(self, tenant_id, request):
.put() \
.go()

def update_tenant_manager_identity_provider_type_configuration(self, _type, request):
"""
Updates the tenant manager identity provider type configuration for the given identity provider type.

Attributes:
_type: The type of the identity provider.
request: The request object that contains the updated tenant manager identity provider type configuration.
"""
return self.start().uri('/api/tenant-manager/identity-provider') \
.url_segment(_type) \
.body_handler(JSONBodyHandler(request)) \
.put() \
.go()

def update_theme(self, theme_id, request):
"""
Updates the theme with the given Id.
Expand Down