Skip to content

Commit 72959ad

Browse files
author
FusionAuth Automation
committed
Sync from monorepo 797cf4b8ea23
1 parent 0c6f466 commit 72959ad

1 file changed

Lines changed: 148 additions & 0 deletions

File tree

src/FusionAuth/FusionAuthClient.php

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,24 @@ public function createTenant($tenantId, $request)
980980
->go();
981981
}
982982

983+
/**
984+
* Creates a tenant manager identity provider type configuration for the given identity provider type.
985+
*
986+
* @param array $type The type of the identity provider.
987+
* @param array $request The request object that contains all the information used to create the tenant manager identity provider type configuration.
988+
*
989+
* @return ClientResponse The ClientResponse.
990+
* @throws \Exception
991+
*/
992+
public function createTenantManagerIdentityProviderTypeConfiguration($type, $request)
993+
{
994+
return $this->start()->uri("/api/tenant-manager/identity-provider")
995+
->urlSegment($type)
996+
->bodyHandler(new JSONBodyHandler($request))
997+
->post()
998+
->go();
999+
}
1000+
9831001
/**
9841002
* Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
9851003
*
@@ -1635,6 +1653,22 @@ public function deleteTenantAsync($tenantId)
16351653
->go();
16361654
}
16371655

1656+
/**
1657+
* Deletes the tenant manager identity provider type configuration for the given identity provider type.
1658+
*
1659+
* @param array $type The type of the identity provider.
1660+
*
1661+
* @return ClientResponse The ClientResponse.
1662+
* @throws \Exception
1663+
*/
1664+
public function deleteTenantManagerIdentityProviderTypeConfiguration($type)
1665+
{
1666+
return $this->start()->uri("/api/tenant-manager/identity-provider")
1667+
->urlSegment($type)
1668+
->delete()
1669+
->go();
1670+
}
1671+
16381672
/**
16391673
* Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
16401674
* with the tenant and everything under the tenant (applications, users, etc).
@@ -3092,6 +3126,40 @@ public function patchTenant($tenantId, $request)
30923126
->go();
30933127
}
30943128

3129+
/**
3130+
* Updates, via PATCH, the Tenant Manager configuration.
3131+
*
3132+
* @param array $request The request that contains just the new Tenant Manager configuration information.
3133+
*
3134+
* @return ClientResponse The ClientResponse.
3135+
* @throws \Exception
3136+
*/
3137+
public function patchTenantManagerConfiguration($request)
3138+
{
3139+
return $this->start()->uri("/api/tenant-manager")
3140+
->bodyHandler(new JSONBodyHandler($request))
3141+
->patch()
3142+
->go();
3143+
}
3144+
3145+
/**
3146+
* Patches the tenant manager identity provider type configuration for the given identity provider type.
3147+
*
3148+
* @param array $type The type of the identity provider.
3149+
* @param array $request The request object that contains the new tenant manager identity provider type configuration information.
3150+
*
3151+
* @return ClientResponse The ClientResponse.
3152+
* @throws \Exception
3153+
*/
3154+
public function patchTenantManagerIdentityProviderTypeConfiguration($type, $request)
3155+
{
3156+
return $this->start()->uri("/api/tenant-manager/identity-provider")
3157+
->urlSegment($type)
3158+
->bodyHandler(new JSONBodyHandler($request))
3159+
->patch()
3160+
->go();
3161+
}
3162+
30953163
/**
30963164
* Updates, via PATCH, the theme with the given Id.
30973165
*
@@ -3942,6 +4010,22 @@ public function retrieveIdentityProviderByType($type)
39424010
->go();
39434011
}
39444012

4013+
/**
4014+
* Retrieves the results for an identity provider connection test.
4015+
*
4016+
* @param string $connectionTestId The connection test id to retrieve results for.
4017+
*
4018+
* @return ClientResponse The ClientResponse.
4019+
* @throws \Exception
4020+
*/
4021+
public function retrieveIdentityProviderConnectionTestResults($connectionTestId)
4022+
{
4023+
return $this->start()->uri("/api/identity-provider/test")
4024+
->urlParameter("connectionTestId", $connectionTestId)
4025+
->get()
4026+
->go();
4027+
}
4028+
39454029
/**
39464030
* Retrieves all the identity providers.
39474031
*
@@ -4595,6 +4679,20 @@ public function retrieveTenant($tenantId)
45954679
->go();
45964680
}
45974681

4682+
/**
4683+
* Retrieves the Tenant Manager configuration.
4684+
*
4685+
*
4686+
* @return ClientResponse The ClientResponse.
4687+
* @throws \Exception
4688+
*/
4689+
public function retrieveTenantManagerConfiguration()
4690+
{
4691+
return $this->start()->uri("/api/tenant-manager")
4692+
->get()
4693+
->go();
4694+
}
4695+
45984696
/**
45994697
* Retrieves all the tenants.
46004698
*
@@ -6001,6 +6099,22 @@ public function sendVerifyIdentity($request)
60016099
->go();
60026100
}
60036101

6102+
/**
6103+
* Begins an identity provider connection test.
6104+
*
6105+
* @param array $request The request that contains information on the connection test.
6106+
*
6107+
* @return ClientResponse The ClientResponse.
6108+
* @throws \Exception
6109+
*/
6110+
public function startIdentityProviderConnectionTest($request)
6111+
{
6112+
return $this->start()->uri("/api/identity-provider/test")
6113+
->bodyHandler(new JSONBodyHandler($request))
6114+
->post()
6115+
->go();
6116+
}
6117+
60046118
/**
60056119
* Begins a login request for a 3rd party login that requires user interaction such as HYPR.
60066120
*
@@ -6574,6 +6688,40 @@ public function updateTenant($tenantId, $request)
65746688
->go();
65756689
}
65766690

6691+
/**
6692+
* Updates the Tenant Manager configuration.
6693+
*
6694+
* @param array $request The request that contains all the new Tenant Manager configuration information.
6695+
*
6696+
* @return ClientResponse The ClientResponse.
6697+
* @throws \Exception
6698+
*/
6699+
public function updateTenantManagerConfiguration($request)
6700+
{
6701+
return $this->start()->uri("/api/tenant-manager")
6702+
->bodyHandler(new JSONBodyHandler($request))
6703+
->put()
6704+
->go();
6705+
}
6706+
6707+
/**
6708+
* Updates the tenant manager identity provider type configuration for the given identity provider type.
6709+
*
6710+
* @param array $type The type of the identity provider.
6711+
* @param array $request The request object that contains the updated tenant manager identity provider type configuration.
6712+
*
6713+
* @return ClientResponse The ClientResponse.
6714+
* @throws \Exception
6715+
*/
6716+
public function updateTenantManagerIdentityProviderTypeConfiguration($type, $request)
6717+
{
6718+
return $this->start()->uri("/api/tenant-manager/identity-provider")
6719+
->urlSegment($type)
6720+
->bodyHandler(new JSONBodyHandler($request))
6721+
->put()
6722+
->go();
6723+
}
6724+
65776725
/**
65786726
* Updates the theme with the given Id.
65796727
*

0 commit comments

Comments
 (0)