Table of Contents

Interface IMetadataLoader

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

Loads SAML metadata.

public interface IMetadataLoader

Methods

Load(XmlElement)

Loads the SAML metadata XML.

EntitiesDescriptor Load(XmlElement xmlElement)

Parameters

xmlElement XmlElement

The metadata XML.

Returns

EntitiesDescriptor

The SAML metadata.

Exceptions

SamlException

Thrown when the SAML metadata cannot be loaded.

LoadFile(string)

Loads the SAML metadata file.

EntitiesDescriptor LoadFile(string fileName)

Parameters

fileName string

The SAML metadata file

Returns

EntitiesDescriptor

The SAML metadata.

Exceptions

SamlException

Thrown when the SAML metadata cannot be loaded.

LoadUrlAsync(string)

Loads SAML metadata from a download URL.

Task<EntitiesDescriptor> LoadUrlAsync(string url)

Parameters

url string

The metadata download URL.

Returns

Task<EntitiesDescriptor>

The SAML metadata.

Exceptions

SamlException

Thrown when the SAML metadata cannot be loaded.