Table of Contents

Class AuthnAuthorityDescriptor

Namespace
ComponentSpace.Saml2.Metadata
Assembly
ComponentSpace.Saml2.dll

Represents an authentication authority descriptor.

public class AuthnAuthorityDescriptor : RoleDescriptorType
Inheritance
AuthnAuthorityDescriptor
Inherited Members

Remarks

Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

AuthnAuthorityDescriptor()

Initializes a new instance of the AuthnAuthorityDescriptor class.

public AuthnAuthorityDescriptor()

AuthnAuthorityDescriptor(XmlElement)

Initializes a new instance of the AuthnAuthorityDescriptor class from XML.

public AuthnAuthorityDescriptor(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The authentication authority descriptor XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Properties

AssertionIDRequestServices

Gets or sets the list of assertion ID request services.

public IList<AssertionIDRequestService> AssertionIDRequestServices { get; set; }

Property Value

IList<AssertionIDRequestService>

The list of assertion ID request services.

AuthnQueryServices

Gets or sets the list of authentication query services.

public IList<AuthnQueryService> AuthnQueryServices { get; set; }

Property Value

IList<AuthnQueryService>

The list of authentication query services.

NameIDFormats

Gets or sets the list of name ID formats.

public IList<NameIDFormat> NameIDFormats { get; set; }

Property Value

IList<NameIDFormat>

The list of name ID formats.

Methods

IsValid(XmlElement)

Indicates whether the XML is an authentication authority descriptor.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an authentication authority descriptor; otherwise false.

ToXml(XmlDocument)

Serializes the authentication authority descriptor to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The authentication authority descriptor as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.