Show / Hide Table of Contents

Interface IConfigurationToMetadata

Exports SAML configuration to SAML metadata.

Namespace: ComponentSpace.Saml2.Metadata.Export
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface IConfigurationToMetadata

Methods

ExportAsync(SamlConfiguration, String, String)

Exports the SAML configuration.

Declaration
Task<EntityDescriptor> ExportAsync(SamlConfiguration samlConfiguration, string partnerName = null, string workingDirectory = null)
Parameters
Type Name Description
SamlConfiguration samlConfiguration

The SAML configuration.

System.String partnerName

The partner name or null if none.

System.String workingDirectory

The working directory for any relative paths in the SAML configuration or null if none.

Returns
Type Description
System.Threading.Tasks.Task<EntityDescriptor>

The SAML metadata.

Exceptions
Type Condition
SamlException

Thrown when the SAML configuration cannot be exported.

ExportAsync(String, String, String)

Exports the SAML configuration.

Declaration
Task<EntityDescriptor> ExportAsync(string configurationName = null, string partnerName = null, string workingDirectory = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

System.String partnerName

The partner name or null if none.

System.String workingDirectory

The working directory for any relative paths in the SAML configuration or null if none.

Returns
Type Description
System.Threading.Tasks.Task<EntityDescriptor>

The SAML metadata.

Exceptions
Type Condition
SamlException

Thrown when the SAML configuration cannot be exported.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.