Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Sustainsys.​Saml2.​Configuration.​SustainsysSaml2Section

Assembly: Sustainsys.Saml2

Inheritance: object → System.Configuration.ConfigurationElementSystem.Configuration.ConfigurationSection → SustainsysSaml2Section

Config section for the module.

Properties

EntityId
EntityId - The identity of the ServiceProvider to use when sending requests to Idp and presenting the SP in metadata.
public System.​Uri
ReturnUrl
The Url to redirect back to after successfull authentication.
public System.​Uri
PublicOrigin
By default, the service provider uses the host, protocol, and port from the HTTP request when creating links. This might not be accurate in reverse proxy or load-balancing situations. You can override the origin used for link generation using this property.
IdentityProviders
Set of identity providers known to the service provider.
Federations
Set of federations. The service provider will trust all the idps in these federations.
public System.​Uri
DiscoveryServiceUrl
Url to discovery service to use if no idp is specified in the sign in call.
public string
ModulePath
Application root relative path for Saml2 endpoints. The default is "Saml2".
NameIdPolicyElement
NamedId policy element.
RequestedAuthnContext
RequestedAuthnContext config.
Organization
Metadata describing the organization responsible for the entity.
Metadata
Metadata of the service provider.
Contacts for the SAML2 entity.
AttributeConsumingServices
Attribute consuming services.
ServiceCertificates
Certificates used by the service provider for signing and/or decryption.
AuthenticateRequestSigningBehavior
Signing behavior for created AuthnRequests.
public string
OutboundSigningAlgorithm
Signing algorithm for metadata and outbound messages. Can be overriden for each <see cref="T:Sustainsys.Saml2.IdentityProvider" /> .
public string
MinIncomingSigningAlgorithm
Weakest accepted signing algorithm for inbound messages.
public bool
ValidateCertificates
Validate certificates when validating signatures? Normally not a good idea as SAML2 deployments typically exchange certificates directly and instead of relying on the public certificate infrastructure.
Compatibility
Compatibility settings. Can be used to make Saml2 accept certain non-standard behaviour.
public bool
LockItem
EvaluationContext
protected bool
HasContext
CurrentConfiguration

Methods

public bool
IsReadOnly​()
Returns Returns true (unless during tests)
Used for testing, always returns true in production.
protected void
ListErrors​(System.Collections.IList errorList)
Inherited from ConfigurationElement
public bool
Equals​(object compareTo)
Inherited from ConfigurationElement
public int
GetHashCode​()
Inherited from ConfigurationElement
protected void
SetPropertyValue​(System.Configuration.ConfigurationProperty prop, object value, bool ignoreLocks)
Inherited from ConfigurationElement
protected object
OnRequiredPropertyNotFound​(string name)
Inherited from ConfigurationElement
protected void
PostDeserialize​()
Inherited from ConfigurationElement
protected void
PreSerialize​(System.Xml.XmlWriter writer)
Inherited from ConfigurationElement
protected bool
OnDeserializeUnrecognizedAttribute​(string name, string value)
Inherited from ConfigurationElement
protected bool
OnDeserializeUnrecognizedElement​(string elementName, System.Xml.XmlReader reader)
Inherited from ConfigurationElement
protected string
GetTransformedTypeString​(string typeName)
Inherited from ConfigurationElement
protected string
GetTransformedAssemblyString​(string assemblyName)
Inherited from ConfigurationElement
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object