Table of Contents

Class AuthnQueryService

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

Represents the authn query service.

public class AuthnQueryService : EndpointType
Inheritance
AuthnQueryService
Inherited Members

Remarks

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

Constructors

AuthnQueryService()

Initializes a new instance of the AuthnQueryService class.

public AuthnQueryService()

AuthnQueryService(XmlElement)

Initializes a new instance of the AuthnQueryService class from XML.

public AuthnQueryService(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The authn query service XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is an authn query service.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an authn query service; otherwise false.

ToXml(XmlDocument)

Serializes the authn query service to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The authn query service as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.