Class PartnerServiceProviderConfiguration
The partner service provider configuration specifies the configuration for the partner service provider.
Inheritance
Inherited Members
Namespace: ComponentSpace.Saml2.Configuration
Assembly: ComponentSpace.Saml2.dll
Syntax
public class PartnerServiceProviderConfiguration : PartnerProviderConfiguration
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.
Declaration
public string AssertionConsumerServiceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public TimeSpan AssertionLifeTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The time span for which SAML assertions will be valid. |
AuthnContext
Gets or sets the authentication context to include in the SAML assertion.
Declaration
public string AuthnContext { get; set; }
Property Value
Type | Description |
---|---|
System.String | The authentication context. |
EncryptAssertion
Gets or sets the flag indicating whether to encrypt SAML assertions.
Declaration
public bool EncryptAssertion { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to encrypt SAML assertions. |
EncryptNameID
Gets or sets the flag indicating whether to encrypt Name IDs in SAML assertions.
Declaration
public bool EncryptNameID { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to encrypt Name IDs in SAML assertions. |
RelayState
Gets or sets the relay state sent during IdP-initiated SSO.
Declaration
public string RelayState { get; set; }
Property Value
Type | Description |
---|---|
System.String | The relay state. |
SignAssertion
Gets or sets the flag indicating whether to sign SAML assertions.
The default is true.
Declaration
public bool SignAssertion { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to sign SAML assertions. |
SignSamlResponse
Gets or sets the flag indicating whether to sign SAML responses.
Declaration
public bool SignSamlResponse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 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.
Declaration
public IList<string> ValidAssertionConsumerServiceUrls { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.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.
Declaration
public bool WantAuthnRequestSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether authn requests should be signed. |