@@ -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
@@ -2425,6 +2451,32 @@ def patch_tenant(self, tenant_id, request):
24252451 .patch () \
24262452 .go ()
24272453
2454+ def patch_tenant_manager_configuration (self , request ):
2455+ """
2456+ Updates, via PATCH, the Tenant Manager configuration.
2457+
2458+ Attributes:
2459+ request: The request that contains just the new Tenant Manager configuration information.
2460+ """
2461+ return self .start ().uri ('/api/tenant-manager' ) \
2462+ .body_handler (JSONBodyHandler (request )) \
2463+ .patch () \
2464+ .go ()
2465+
2466+ def patch_tenant_manager_identity_provider_type_configuration (self , _type , request ):
2467+ """
2468+ Patches the tenant manager identity provider type configuration for the given identity provider type.
2469+
2470+ Attributes:
2471+ _type: The type of the identity provider.
2472+ request: The request object that contains the new tenant manager identity provider type configuration information.
2473+ """
2474+ return self .start ().uri ('/api/tenant-manager/identity-provider' ) \
2475+ .url_segment (_type ) \
2476+ .body_handler (JSONBodyHandler (request )) \
2477+ .patch () \
2478+ .go ()
2479+
24282480 def patch_theme (self , theme_id , request ):
24292481 """
24302482 Updates, via PATCH, the theme with the given Id.
@@ -3071,6 +3123,18 @@ def retrieve_identity_provider_by_type(self, _type):
30713123 .get () \
30723124 .go ()
30733125
3126+ def retrieve_identity_provider_connection_test_results (self , connection_test_id ):
3127+ """
3128+ Retrieves the results for an identity provider connection test.
3129+
3130+ Attributes:
3131+ connection_test_id: The connection test id to retrieve results for.
3132+ """
3133+ return self .start ().uri ('/api/identity-provider/test' ) \
3134+ .url_parameter ('connectionTestId' , self .convert_true_false (connection_test_id )) \
3135+ .get () \
3136+ .go ()
3137+
30743138 def retrieve_identity_providers (self ):
30753139 """
30763140 Retrieves all the identity providers.
@@ -3560,6 +3624,16 @@ def retrieve_tenant(self, tenant_id):
35603624 .get () \
35613625 .go ()
35623626
3627+ def retrieve_tenant_manager_configuration (self ):
3628+ """
3629+ Retrieves the Tenant Manager configuration.
3630+
3631+ Attributes:
3632+ """
3633+ return self .start ().uri ('/api/tenant-manager' ) \
3634+ .get () \
3635+ .go ()
3636+
35633637 def retrieve_tenants (self ):
35643638 """
35653639 Retrieves all the tenants.
@@ -4642,6 +4716,18 @@ def send_verify_identity(self, request):
46424716 .post () \
46434717 .go ()
46444718
4719+ def start_identity_provider_connection_test (self , request ):
4720+ """
4721+ Begins an identity provider connection test.
4722+
4723+ Attributes:
4724+ request: The request that contains information on the connection test.
4725+ """
4726+ return self .start ().uri ('/api/identity-provider/test' ) \
4727+ .body_handler (JSONBodyHandler (request )) \
4728+ .post () \
4729+ .go ()
4730+
46454731 def start_identity_provider_login (self , request ):
46464732 """
46474733 Begins a login request for a 3rd party login that requires user interaction such as HYPR.
@@ -5087,6 +5173,32 @@ def update_tenant(self, tenant_id, request):
50875173 .put () \
50885174 .go ()
50895175
5176+ def update_tenant_manager_configuration (self , request ):
5177+ """
5178+ Updates the Tenant Manager configuration.
5179+
5180+ Attributes:
5181+ request: The request that contains all the new Tenant Manager configuration information.
5182+ """
5183+ return self .start ().uri ('/api/tenant-manager' ) \
5184+ .body_handler (JSONBodyHandler (request )) \
5185+ .put () \
5186+ .go ()
5187+
5188+ def update_tenant_manager_identity_provider_type_configuration (self , _type , request ):
5189+ """
5190+ Updates the tenant manager identity provider type configuration for the given identity provider type.
5191+
5192+ Attributes:
5193+ _type: The type of the identity provider.
5194+ request: The request object that contains the updated tenant manager identity provider type configuration.
5195+ """
5196+ return self .start ().uri ('/api/tenant-manager/identity-provider' ) \
5197+ .url_segment (_type ) \
5198+ .body_handler (JSONBodyHandler (request )) \
5199+ .put () \
5200+ .go ()
5201+
50905202 def update_theme (self , theme_id , request ):
50915203 """
50925204 Updates the theme with the given Id.
0 commit comments