Table of Contents

Class PartnerServiceProviderConfiguration

Namespace
ComponentSpace.Saml2.Configuration
Assembly
ComponentSpace.Saml2.dll

The partner service provider configuration specifies the configuration for the partner service provider.

public class PartnerServiceProviderConfiguration : PartnerProviderConfiguration
Inheritance
PartnerServiceProviderConfiguration
Inherited Members

Properties

AssertionConsumerServiceUrl

Gets or sets the partner service provider's assertion consumer service URL.

This URL is always used for IdP-initiated SSO and, if not otherwise specified by the service provider, for SP-initiated SSO as well.

public string AssertionConsumerServiceUrl { get; set; }

Property Value

string

The partner service provider's assertion consumer service URL.

AssertionLifeTime

Gets or sets the time span for which SAML assertions will be valid.

The default time span is 3 minutes.

public TimeSpan AssertionLifeTime { get; set; }

Property Value

TimeSpan

The time span for which SAML assertions will be valid.

AuthnContext

Gets or sets the authentication context to include in the SAML assertion.

public string AuthnContext { get; set; }

Property Value

string

The authentication context.

EncryptAssertion

Gets or sets the flag indicating whether to encrypt SAML assertions.

public bool EncryptAssertion { get; set; }

Property Value

bool

The flag indicating whether to encrypt SAML assertions.

EncryptNameID

Gets or sets the flag indicating whether to encrypt Name IDs in SAML assertions.

public bool EncryptNameID { get; set; }

Property Value

bool

The flag indicating whether to encrypt Name IDs in SAML assertions.

RelayState

Gets or sets the relay state sent during IdP-initiated SSO.

public string RelayState { get; set; }

Property Value

string

The relay state.

SignAssertion

Gets or sets the flag indicating whether to sign SAML assertions.

The default is true.

public bool SignAssertion { get; set; }

Property Value

bool

The flag indicating whether to sign SAML assertions.

SignSamlResponse

Gets or sets the flag indicating whether to sign SAML responses.

public bool SignSamlResponse { get; set; }

Property Value

bool

The flag indicating whether to sign SAML responses.

ValidAssertionConsumerServiceUrls

Gets or sets the optional list of valid assertion consumer service URLs accepted from the service provider.

public IList<string> ValidAssertionConsumerServiceUrls { get; set; }

Property Value

IList<string>

The optional list of valid assertion consumer service URLs accepted from the service provider.

WantAuthnRequestSigned

Gets or sets the flag indicating whether authn requests should be signed.

The default is true.

public bool WantAuthnRequestSigned { get; set; }

Property Value

bool

The flag indicating whether authn requests should be signed.