diff --git a/src/main/python/fusionauth/fusionauth_client.py b/src/main/python/fusionauth/fusionauth_client.py index aa83e3d..e8b2d3b 100644 --- a/src/main/python/fusionauth/fusionauth_client.py +++ b/src/main/python/fusionauth/fusionauth_client.py @@ -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. @@ -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 @@ -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.