SamlSpConfiguration

This is the configuration required for a Service Provider for single sign on.

Overview of SamlSpConfiguration goes here.

SamlSpConfiguration Properties

SamlSpConfiguration

Field Type Inherited from Description
AssertionConsumerServiceUrl String SamlSpConfiguration Gets or sets the AssertionConsumerServiceUrl value
Description String SamlSpConfiguration Gets or sets the Description value
LocalCertificates Certificate[] SamlSpConfiguration Gets or sets the LocalCertificates value
Name String SamlSpConfiguration Gets or sets the Name value
SingleLogoutServiceUrl String SamlSpConfiguration Gets or sets the SingleLogoutServiceUrl value

JSON Structure of SamlSpConfiguration

{
   "AssertionConsumerServiceUrl"	:	"String",
   "Description"	:	"String",
   "LocalCertificates"	:	"[Certificate](/object-model/certificate)[]",
   "Name"	:	"String",
   "SingleLogoutServiceUrl"	:	"String"
}

Delete Saml Service Provider Configuration Async

Example in C#

// Returns: nothing
await client.DeleteSamlServiceProviderConfigurationAsync();

Example in CURL



           curl -X DELETE \
               https://keepapi.feenicshosting.com/saml/admin/spconfig \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' 
            

Get Saml Service Provider Configuration Async

Example in C#

// Returns: SamlSpConfiguration
var samlSpConfiguration = await client.GetSamlServiceProviderConfigurationAsync();

Example in CURL



           curl -X GET \
               https://keepapi.feenicshosting.com/saml/admin/spconfig \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' 
            

Set Saml Service Provider Configuration

Example in C#

// Returns: nothing
await client.SetSamlServiceProviderConfiguration(SamlSpConfiguration configuration);

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/saml/admin/SpConfiguration \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.SamlSpConfiguration, Feenics.Keep.WebApi.Model",
                       "Name":"Name",
                       "Description":"Description",
                       "AssertionConsumerServiceUrl":"Assertion Consumer Service Url",
                       "SingleLogoutServiceUrl":"Single Logout Service Url",
                       "LocalCertificates":
                       [
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Certificate, Feenics.Keep.WebApi.Model",
                               "CertificateBase64Encoded":null,
                               "PublicKey":null,
                               "Password":null
                           }
                       ]
                   }'