Class PartnerIdentityProviderConfiguration
The partner identity provider configuration specifies the configuration for the partner identity provider.
Inheritance
Inherited Members
Namespace: ComponentSpace.SAML2.Configuration
Assembly: ComponentSpace.Saml2.dll
Syntax
public class PartnerIdentityProviderConfiguration : PartnerProviderConfiguration
Constructors
PartnerIdentityProviderConfiguration()
Constructs a partner identity provider configuration.
Declaration
public PartnerIdentityProviderConfiguration()
PartnerIdentityProviderConfiguration(XmlElement)
Constructs a partner identity provider configuration from XML.
Declaration
public PartnerIdentityProviderConfiguration(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The partner identity provider configuration XML. |
Properties
AuthnContextComparison
Gets or sets the optional request authn context comparison.
Declaration
public string AuthnContextComparison { get; set; }
Property Value
Type | Description |
---|---|
System.String | The optional request authn context comparison. |
DisableAssertionReplayCheck
Gets or sets the flag indicating whether to check for assertion replay.
Declaration
public bool DisableAssertionReplayCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to check for assertion replay. |
DisableAudienceRestrictionCheck
Gets or sets the flag indicating whether the audience restriction condition is checked.
Declaration
public bool DisableAudienceRestrictionCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the audience restriction condition is checked. |
DisableAuthnContextCheck
Gets or sets the flag indicating whether the authn context is checked.
Declaration
public bool DisableAuthnContextCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the authn context is checked. |
DisableIdPInitiatedSso
Gets or sets the flag indicating whether IdP-initiated SSO is supported.
Declaration
public bool DisableIdPInitiatedSso { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether IdP-initiated SSO is supported. |
DisableRecipientCheck
Gets or sets the flag indicating whether the SAML recipient is checked.
Declaration
public bool DisableRecipientCheck { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether the SAML recipient 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. |
ForceAuthn
Gets or sets the flag indicating whether to set the force authentication attribute in authn requests.
Declaration
public bool ForceAuthn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to set the force authentication attribute in authn requests. |
ProviderName
Gets or sets the optional provider name to include in the authn request.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The optional provider name to include in the authn request. |
SignAuthnRequest
Gets or sets the flag indicating whether to sign authn requests.
The default is true.
Declaration
public bool SignAuthnRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether to sign authn requests. |
SingleSignOnServiceBinding
Gets or sets the partner identity provider's single sign-on service binding.
The default binding is urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect.
Declaration
public string SingleSignOnServiceBinding { get; set; }
Property Value
Type | Description |
---|---|
System.String | The partner identity provider's single sign-on service binding. |
SingleSignOnServiceUrl
Gets or sets the partner identity provider's single sign-on service URL.
Declaration
public string SingleSignOnServiceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The partner identity provider's single sign-on service URL. |
WantAssertionEncrypted
Gets or sets the flag indicating whether SAML assertions should be encrypted.
Declaration
public bool WantAssertionEncrypted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether SAML assertions should be encrypted. |
WantAssertionOrResponseSigned
Gets or sets the flag indicating whether either SAML assertions or responses should be signed.
Declaration
public bool WantAssertionOrResponseSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether either SAML assertions or responses should be signed. |
WantAssertionSigned
Gets or sets the flag indicating whether SAML assertions should be signed.
Declaration
public bool WantAssertionSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether SAML assertions should be signed. |
WantSAMLResponseSigned
Gets or sets the flag indicating whether SAML responses should be signed.
Declaration
public bool WantSAMLResponseSigned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag indicating whether SAML responses should be signed. |
Methods
ToXml(XmlElement)
Serializes the partner identity provider configuration to XML.
Declaration
public override void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The XML element. |