Table of Contents

Class PartnerProviderConfiguration

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

The partner provider configuration is configuration common to partner identity providers and service providers.

public abstract class PartnerProviderConfiguration : ProviderConfiguration
Inheritance
PartnerProviderConfiguration
Derived
Inherited Members

Properties

ArtifactEncoding

Gets or sets the artifact encoding.

public string ArtifactEncoding { get; set; }

Property Value

string

The artifact encoding.

ArtifactResolutionServiceUrl

Gets or sets the partner provider's artifact resolution service URL.

public string ArtifactResolutionServiceUrl { get; set; }

Property Value

string

The partner provider's artifact resolution service URL.

AssertionConsumerServiceBinding

Gets or sets the service provider's assertion consumer service binding.

The default binding is urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST.

public string AssertionConsumerServiceBinding { get; set; }

Property Value

string

The service provider's assertion consumer service binding.

ClockSkew

Gets or sets the clock skew. The clock skew allows for differences between local and partner computer clocks when checking time intervals.

The default time span is 3 minutes.

public TimeSpan ClockSkew { get; set; }

Property Value

TimeSpan

The clock skew.

DataEncryptionAlgorithm

Gets or sets the XML encryption data encryption algorithm.

The default algorithm is http://www.w3.org/2001/04/xmlenc#aes256-cbc.

public string DataEncryptionAlgorithm { get; set; }

Property Value

string

The XML encryption data encryption algorithm.

DigestAlgorithm

Gets or sets the XML signature digest algorithm.

The default algorithm is http://www.w3.org/2001/04/xmlenc#sha256.

public string DigestAlgorithm { get; set; }

Property Value

string

The XML signature digest algorithm.

DisableClearAllSessionsOnLogout

Gets or sets the flag indicating whether all sessions to a partner provider should be cleared upon logout.

public bool DisableClearAllSessionsOnLogout { get; set; }

Property Value

bool

The flag indicating whether all sessions to a partner provider should be cleared upon logout.

DisableDestinationCheck

Gets or sets the flag indicating whether the destination is checked.

public bool DisableDestinationCheck { get; set; }

Property Value

bool

The flag indicating whether the destination is checked.

DisableInResponseToCheck

Gets or sets the flag indicating whether the InResponseTo is checked.

public bool DisableInResponseToCheck { get; set; }

Property Value

bool

The flag indicating whether the InResponseTo is checked.

DisableInboundLogout

Gets or sets the flag indicating whether to disable inbound logout.

public bool DisableInboundLogout { get; set; }

Property Value

bool

The flag indicating whether to disable inbound logout.

DisableLogoutResponseStatusCheck

Gets or sets the flag indicating whether the logout response status is checked.

public bool DisableLogoutResponseStatusCheck { get; set; }

Property Value

bool

The flag indicating whether the logout response status is checked.

DisableOutboundLogout

Gets or sets the flag indicating whether to disable outbound logout.

public bool DisableOutboundLogout { get; set; }

Property Value

bool

The flag indicating whether to disable outbound logout.

DisablePendingLogoutCheck

Gets or sets the flag indicating whether a logout is pending is checked.

public bool DisablePendingLogoutCheck { get; set; }

Property Value

bool

The flag indicating whether a logout is pending is checked.

DisableTimePeriodCheck

Gets or sets the flag indicating whether the not-before/not-on-or-after time period is checked.

public bool DisableTimePeriodCheck { get; set; }

Property Value

bool

The flag indicating whether the not-before/not-on-or-after time period is checked.

EnableSha1Support

Gets or sets the flag indicating whether SHA-1 support is enabled.

public bool EnableSha1Support { get; set; }

Property Value

bool

The flag indicating whether SHA-1 support is enabled.

EncryptLogoutNameID

Gets or sets the flag indicating whether to encrypt the Name ID in the logout request.

public bool EncryptLogoutNameID { get; set; }

Property Value

bool

The flag indicating whether to encrypt the Name ID in the logout request.

IssuerFormat

Gets or sets the issuer format.

The default issuer format is not explicitly specified.

public string IssuerFormat { get; set; }

Property Value

string

The issuer format.

IssuerQualifier

Gets or sets the issuer qualifier.

The default issuer qualifier is not explicitly specified.

public string IssuerQualifier { get; set; }

Property Value

string

The issuer qualifier.

KeyEncryptionAlgorithm

Gets or sets the XML encryption key encryption algorithm.

The default algorithm is http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p.

public string KeyEncryptionAlgorithm { get; set; }

Property Value

string

The XML encryption key encryption algorithm.

KeyEncryptionDigestAlgorithm

Gets or sets the XML encryption key encryption digest algorithm.

public string KeyEncryptionDigestAlgorithm { get; set; }

Property Value

string

The XML encryption key encryption digest algorithm.

KeyEncryptionMaskGenerationFunction

Gets or sets the XML encryption key encryption mask generation function.

public string KeyEncryptionMaskGenerationFunction { get; set; }

Property Value

string

The XML encryption key encryption mask generation function.

LogoutRequestLifeTime

Gets or sets the logout request lifetime.

The default time span is 3 minutes.

public TimeSpan LogoutRequestLifeTime { get; set; }

Property Value

TimeSpan

The logout request lifetime.

MappingRules

Gets or sets the optional SAML mapping rules used to transform SAML identity information.

public IList<SamlMappingRule> MappingRules { get; set; }

Property Value

IList<SamlMappingRule>

The optional SAML mapping rules.

NameIDFormat

Gets or sets the name identifier format.

The default name identifier format is not explicitly specified.

public string NameIDFormat { get; set; }

Property Value

string

The name identifier format.

NameIDQualifier

Gets or sets the name identifier qualifier.

The default name identifier qualifier is not explicitly specified.

public string NameIDQualifier { get; set; }

Property Value

string

The name identifier qualifier.

PartnerCertificates

Gets or sets the partner certificates.

public IList<Certificate> PartnerCertificates { get; set; }

Property Value

IList<Certificate>

The partner certificates.

SignArtifactResolve

Gets or sets the flag indicating whether to sign sent artifact resolve requests.

public bool SignArtifactResolve { get; set; }

Property Value

bool

The flag indicating whether to sign sent artifact resolve requests.

SignArtifactResponse

Gets or sets the flag indicating whether to sign sent artifact responses.

public bool SignArtifactResponse { get; set; }

Property Value

bool

The flag indicating whether to sign sent artifact responses.

SignLogoutRequest

Gets or sets the flag indicating whether to sign sent logout responses.

The default is true.

public bool SignLogoutRequest { get; set; }

Property Value

bool

The flag indicating whether to sign sent logout responses.

SignLogoutResponse

Gets or sets the flag indicating whether to sign sent logout responses.

The default is true.

public bool SignLogoutResponse { get; set; }

Property Value

bool

The flag indicating whether to sign sent logout responses.

SignatureAlgorithm

Gets or sets the XML signature algorithm.

The default algorithm is http://www.w3.org/2001/04/xmldsig-more#rsa-sha256.

public string SignatureAlgorithm { get; set; }

Property Value

string

The XML signature algorithm.

SingleLogoutServiceBinding

Gets or sets the partner provider's single logout service binding.

The default binding is urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect.

public string SingleLogoutServiceBinding { get; set; }

Property Value

string

The partner provider's single logout service binding.

SingleLogoutServiceResponseUrl

Gets or sets the partner provider's single logout service response URL.

public string SingleLogoutServiceResponseUrl { get; set; }

Property Value

string

The partner provider's single logout service response URL.

SingleLogoutServiceUrl

Gets or sets the partner provider's single logout service URL.

public string SingleLogoutServiceUrl { get; set; }

Property Value

string

The partner provider's single logout service URL.

UseEmbeddedCertificate

Gets or sets the flag to indicate whether to use embedded certificates.

public bool UseEmbeddedCertificate { get; set; }

Property Value

bool

The flag to indicate whether to use embedded certificates.

Remarks

Embedded certificates should not be used in production.

WantArtifactResolveSigned

Gets or sets the flag indicating whether received artifact resolve requests should be signed.

public bool WantArtifactResolveSigned { get; set; }

Property Value

bool

The flag indicating whether received artifact resolve requests should be signed.

WantArtifactResponseSigned

Gets or sets the flag indicating whether received artifact responses should be signed.

public bool WantArtifactResponseSigned { get; set; }

Property Value

bool

The flag indicating whether received artifact responses should be signed.

WantDigestAlgorithm

Gets or sets the XML signature digest algorithm expected from the partner provider.

If not specified then any algorithm is accepted.

public string WantDigestAlgorithm { get; set; }

Property Value

string

The expected XML signature digest algorithm or null if none.

WantLogoutRequestSigned

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

The default is true.

public bool WantLogoutRequestSigned { get; set; }

Property Value

bool

The flag indicating whether received logout requests should be signed.

WantLogoutResponseSigned

Gets or sets the flag indicating whether received logout responses should be signed.

The default is true.

public bool WantLogoutResponseSigned { get; set; }

Property Value

bool

The flag indicating whether received logout responses should be signed.

WantSignatureAlgorithm

Gets or sets the XML signature algorithm expected from the partner provider.

If not specified then any algorithm is accepted.

public string WantSignatureAlgorithm { get; set; }

Property Value

string

The expected XML signature algorithm or null if none.