Skip to content

Commit 1a6e935

Browse files
committed
generate client libraries for /api/tenant-manager/identity-provider
ENG-3779
1 parent 79b49e8 commit 1a6e935

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

lib/fusionauth/fusionauth_client.rb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,20 @@ def create_tenant(tenant_id, request)
766766
.go
767767
end
768768

769+
#
770+
# Creates a tenant manager identity provider type configuration for the given identity provider type.
771+
#
772+
# @param type [string] The type of the identity provider.
773+
# @param request [OpenStruct, Hash] The request object that contains all the information used to create the tenant manager identity provider type configuration.
774+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
775+
def create_tenant_manager_identity_provider_type_configuration(type, request)
776+
start.uri('/api/tenant-manager/identity-provider')
777+
.url_segment(type)
778+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
779+
.post
780+
.go
781+
end
782+
769783
#
770784
# Creates a Theme. You can optionally specify an Id for the theme, if not provided one will be generated.
771785
#
@@ -1269,6 +1283,18 @@ def delete_tenant_async(tenant_id)
12691283
.go
12701284
end
12711285

1286+
#
1287+
# Deletes the tenant manager identity provider type configuration for the given identity provider type.
1288+
#
1289+
# @param type [string] The type of the identity provider.
1290+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
1291+
def delete_tenant_manager_identity_provider_type_configuration(type)
1292+
start.uri('/api/tenant-manager/identity-provider')
1293+
.url_segment(type)
1294+
.delete
1295+
.go
1296+
end
1297+
12721298
#
12731299
# Deletes the tenant based on the given request (sent to the API as JSON). This permanently deletes all information, metrics, reports and data associated
12741300
# with the tenant and everything under the tenant (applications, users, etc).
@@ -5075,6 +5101,20 @@ def update_tenant(tenant_id, request)
50755101
.go
50765102
end
50775103

5104+
#
5105+
# Updates the tenant manager identity provider type configuration for the given identity provider type.
5106+
#
5107+
# @param type [string] The type of the identity provider.
5108+
# @param request [OpenStruct, Hash] The request object that contains the updated tenant manager identity provider type configuration.
5109+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
5110+
def update_tenant_manager_identity_provider_type_configuration(type, request)
5111+
start.uri('/api/tenant-manager/identity-provider')
5112+
.url_segment(type)
5113+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
5114+
.put
5115+
.go
5116+
end
5117+
50785118
#
50795119
# Updates the theme with the given Id.
50805120
#

0 commit comments

Comments
 (0)