Table of Contents

Class AuthzService

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

Represents the authorization service.

public class AuthzService : EndpointType
Inheritance
AuthzService
Inherited Members

Remarks

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

Constructors

AuthzService()

Initializes a new instance of the AuthzService class.

public AuthzService()

AuthzService(XmlElement)

Initializes a new instance of the AuthzService class from XML.

public AuthzService(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The authorization service XML.

Exceptions

SamlSerializationException

Thrown when the XML deserialization fails.

Methods

IsValid(XmlElement)

Indicates whether the XML is an authorization service.

public static bool IsValid(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The XML to test.

Returns

bool

true if the XML is an authorization service; otherwise false.

ToXml(XmlDocument)

Serializes the authorization service to XML.

public XmlElement ToXml(XmlDocument xmlDocument)

Parameters

xmlDocument XmlDocument

The owning XML document.

Returns

XmlElement

The authorization service as XML.

Exceptions

SamlSerializationException

Thrown when the XML serialization fails.