Skip to content
Merged
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
70 changes: 70 additions & 0 deletions src/FusionAuth/FusionAuthClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,24 @@ public function createTenant($tenantId, $request)
->go();
}

/**
* Creates a tenant manager identity provider type configuration for the given identity provider type.
*
* @param array $type The type of the identity provider.
* @param array $request The request object that contains all the information used to create the tenant manager identity provider type configuration.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function createTenantManagerIdentityProviderTypeConfiguration($type, $request)
{
return $this->start()->uri("/api/tenant-manager/identity-provider")
->urlSegment($type)
->bodyHandler(new JSONBodyHandler($request))
->post()
->go();
}

/**
* Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
*
Expand Down Expand Up @@ -1635,6 +1653,22 @@ public function deleteTenantAsync($tenantId)
->go();
}

/**
* Deletes the tenant manager identity provider type configuration for the given identity provider type.
*
* @param array $type The type of the identity provider.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function deleteTenantManagerIdentityProviderTypeConfiguration($type)
{
return $this->start()->uri("/api/tenant-manager/identity-provider")
->urlSegment($type)
->delete()
->go();
}

/**
* Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
* with the tenant and everything under the tenant (applications, users, etc).
Expand Down Expand Up @@ -3055,6 +3089,24 @@ public function patchTenant($tenantId, $request)
->go();
}

/**
* Patches the tenant manager identity provider type configuration for the given identity provider type.
*
* @param array $type The type of the identity provider.
* @param array $request The request object that contains the new tenant manager identity provider type configuration information.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function patchTenantManagerIdentityProviderTypeConfiguration($type, $request)
{
return $this->start()->uri("/api/tenant-manager/identity-provider")
->urlSegment($type)
->bodyHandler(new JSONBodyHandler($request))
->patch()
->go();
}

/**
* Updates, via PATCH, the theme with the given Id.
*
Expand Down Expand Up @@ -6553,6 +6605,24 @@ public function updateTenant($tenantId, $request)
->go();
}

/**
* Updates the tenant manager identity provider type configuration for the given identity provider type.
*
* @param array $type The type of the identity provider.
* @param array $request The request object that contains the updated tenant manager identity provider type configuration.
*
* @return ClientResponse The ClientResponse.
* @throws \Exception
*/
public function updateTenantManagerIdentityProviderTypeConfiguration($type, $request)
{
return $this->start()->uri("/api/tenant-manager/identity-provider")
->urlSegment($type)
->bodyHandler(new JSONBodyHandler($request))
->put()
->go();
}

/**
* Updates the theme with the given Id.
*
Expand Down