Class PartnerProviderConfiguration
The partner provider configuration is configuration common to partner identity providers and service providers.
Inheritance
Inherited Members
Namespace: ComponentSpace.Saml2.Configuration
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class PartnerProviderConfiguration : ProviderConfiguration
Properties
ArtifactEncoding
Gets or sets the artifact encoding.
Declaration
public string ArtifactEncoding { get; set; }
Property Value
Type | Description |
---|---|
System.String | The artifact encoding. |
ArtifactResolutionServiceUrl
Gets or sets the partner provider's artifact resolution service URL.
Declaration
public string ArtifactResolutionServiceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public string AssertionConsumerServiceBinding { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public TimeSpan ClockSkew { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public string DataEncryptionAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public string DigestAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public bool DisableClearAllSessionsOnLogout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool DisableDestinationCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the destination is checked. |
DisableInboundLogout
Gets or sets the flag indicating whether to disable inbound logout.
Declaration
public bool DisableInboundLogout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to disable inbound logout. |
DisableInResponseToCheck
Gets or sets the flag indicating whether the InResponseTo is checked.
Declaration
public bool DisableInResponseToCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the InResponseTo is checked. |
DisableLogoutResponseStatusCheck
Gets or sets the flag indicating whether the logout response status is checked.
Declaration
public bool DisableLogoutResponseStatusCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the logout response status is checked. |
DisableOutboundLogout
Gets or sets the flag indicating whether to disable outbound logout.
Declaration
public bool DisableOutboundLogout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to disable outbound logout. |
DisablePendingLogoutCheck
Gets or sets the flag indicating whether a logout is pending is checked.
Declaration
public bool DisablePendingLogoutCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool DisableTimePeriodCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool EnableSha1Support { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool EncryptLogoutNameID { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public string IssuerFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The issuer format. |
IssuerQualifier
Gets or sets the issuer qualifier.
The default issuer qualifier is not explicitly specified.
Declaration
public string IssuerQualifier { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public string KeyEncryptionAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The XML encryption key encryption algorithm. |
KeyEncryptionDigestAlgorithm
Gets or sets the XML encryption key encryption digest algorithm.
Declaration
public string KeyEncryptionDigestAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The XML encryption key encryption digest algorithm. |
KeyEncryptionMaskGenerationFunction
Gets or sets the XML encryption key encryption mask generation function.
Declaration
public string KeyEncryptionMaskGenerationFunction { get; set; }
Property Value
Type | Description |
---|---|
System.String | The XML encryption key encryption mask generation function. |
LogoutRequestLifeTime
Gets or sets the logout request lifetime.
The default time span is 3 minutes.
Declaration
public TimeSpan LogoutRequestLifeTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The logout request lifetime. |
MappingRules
Gets or sets the optional SAML mapping rules used to transform SAML identity information.
Declaration
public IList<SamlMappingRule> MappingRules { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SamlMappingRule> | The optional SAML mapping rules. |
NameIDFormat
Gets or sets the name identifier format.
The default name identifier format is not explicitly specified.
Declaration
public string NameIDFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name identifier format. |
NameIDQualifier
Gets or sets the name identifier qualifier.
The default name identifier qualifier is not explicitly specified.
Declaration
public string NameIDQualifier { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name identifier qualifier. |
PartnerCertificates
Gets or sets the partner certificates.
Declaration
public IList<Certificate> PartnerCertificates { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Certificate> | The partner certificates. |
SignArtifactResolve
Gets or sets the flag indicating whether to sign sent artifact resolve requests.
Declaration
public bool SignArtifactResolve { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to sign sent artifact resolve requests. |
SignArtifactResponse
Gets or sets the flag indicating whether to sign sent artifact responses.
Declaration
public bool SignArtifactResponse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to sign sent artifact responses. |
SignatureAlgorithm
Gets or sets the XML signature algorithm.
The default algorithm is http://www.w3.org/2001/04/xmldsig-more#rsa-sha256.
Declaration
public string SignatureAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The XML signature algorithm. |
SignLogoutRequest
Gets or sets the flag indicating whether to sign sent logout responses.
The default is true.
Declaration
public bool SignLogoutRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool SignLogoutResponse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to sign sent logout responses. |
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.
Declaration
public string SingleLogoutServiceBinding { get; set; }
Property Value
Type | Description |
---|---|
System.String | The partner provider's single logout service binding. |
SingleLogoutServiceResponseUrl
Gets or sets the partner provider's single logout service response URL.
Declaration
public string SingleLogoutServiceResponseUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The partner provider's single logout service response URL. |
SingleLogoutServiceUrl
Gets or sets the partner provider's single logout service URL.
Declaration
public string SingleLogoutServiceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The partner provider's single logout service URL. |
UseEmbeddedCertificate
Gets or sets the flag to indicate whether to use embedded certificates.
Declaration
public bool UseEmbeddedCertificate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool WantArtifactResolveSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool WantArtifactResponseSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public string WantDigestAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The expected XML signature digest algorithm or |
WantLogoutRequestSigned
Gets or sets the flag indicating whether received logout requests should be signed.
The default is true.
Declaration
public bool WantLogoutRequestSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public bool WantLogoutResponseSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public string WantSignatureAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.String | The expected XML signature algorithm or |