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
54 changes: 54 additions & 0 deletions lib/fusionauth/fusionauth_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,20 @@ def create_tenant(tenant_id, request)
.go
end

#
# Creates a tenant manager identity provider type configuration for the given identity provider type.
#
# @param type [string] The type of the identity provider.
# @param request [OpenStruct, Hash] The request object that contains all the information used to create the tenant manager identity provider type configuration.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def create_tenant_manager_identity_provider_type_configuration(type, request)
start.uri('/api/tenant-manager/identity-provider')
.url_segment(type)
.body_handler(FusionAuth::JSONBodyHandler.new(request))
.post
.go
end

#
# Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
#
Expand Down Expand Up @@ -1269,6 +1283,18 @@ def delete_tenant_async(tenant_id)
.go
end

#
# Deletes the tenant manager identity provider type configuration for the given identity provider type.
#
# @param type [string] The type of the identity provider.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def delete_tenant_manager_identity_provider_type_configuration(type)
start.uri('/api/tenant-manager/identity-provider')
.url_segment(type)
.delete
.go
end

#
# 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 @@ -2401,6 +2427,20 @@ def patch_tenant(tenant_id, request)
.go
end

#
# Patches the tenant manager identity provider type configuration for the given identity provider type.
#
# @param type [string] The type of the identity provider.
# @param request [OpenStruct, Hash] The request object that contains the new tenant manager identity provider type configuration information.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def patch_tenant_manager_identity_provider_type_configuration(type, request)
start.uri('/api/tenant-manager/identity-provider')
.url_segment(type)
.body_handler(FusionAuth::JSONBodyHandler.new(request))
.patch
.go
end

#
# Updates, via PATCH, the theme with the given Id.
#
Expand Down Expand Up @@ -5075,6 +5115,20 @@ def update_tenant(tenant_id, request)
.go
end

#
# Updates the tenant manager identity provider type configuration for the given identity provider type.
#
# @param type [string] The type of the identity provider.
# @param request [OpenStruct, Hash] The request object that contains the updated tenant manager identity provider type configuration.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def update_tenant_manager_identity_provider_type_configuration(type, request)
start.uri('/api/tenant-manager/identity-provider')
.url_segment(type)
.body_handler(FusionAuth::JSONBodyHandler.new(request))
.put
.go
end

#
# Updates the theme with the given Id.
#
Expand Down