Show / Hide Table of Contents

Class AbstractSamlConfigurationResolver

An abstract implementation of the ISamlConfigurationResolver interface.

Inheritance
System.Object
AbstractSamlConfigurationResolver
SamlConfigurationResolver
Implements
ISamlConfigurationResolver
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class AbstractSamlConfigurationResolver : ISamlConfigurationResolver

Methods

GetLocalIdentityProviderConfigurationAsync(String)

Gets the LocalIdentityProviderConfiguration.

Declaration
public virtual Task<LocalIdentityProviderConfiguration> GetLocalIdentityProviderConfigurationAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

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

A task that represents the operation and returns the local identity provider configuration.

Exceptions
Type Condition
SamlException

Thrown when the local identity provider configuration cannot be found.

GetLocalServiceProviderConfigurationAsync(String)

Gets the LocalServiceProviderConfiguration.

Declaration
public virtual Task<LocalServiceProviderConfiguration> GetLocalServiceProviderConfigurationAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

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

A task that represents the operation and returns the local service provider configuration.

Exceptions
Type Condition
SamlException

Thrown when the local service provider configuration cannot be found.

GetPartnerIdentityProviderConfigurationAsync(String, String)

Gets the PartnerIdentityProviderConfiguration given the partner name.

Declaration
public virtual Task<PartnerIdentityProviderConfiguration> GetPartnerIdentityProviderConfigurationAsync(string configurationName = null, string partnerName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

System.String partnerName

The partner name.

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

A task that represents the operation and returns the partner identity provider configuration.

Exceptions
Type Condition
SamlException

Thrown when the partner identity provider configuration cannot be found.

GetPartnerIdentityProviderNamesAsync(String)

Gets the names of the partner identity providers.

Declaration
public virtual Task<IList<string>> GetPartnerIdentityProviderNamesAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IList<System.String>>

A task that represents the operation and returns the names of the partner identity providers.

Exceptions
Type Condition
SamlException

Thrown when the partner identity provider names cannot be retrieved.

GetPartnerServiceProviderConfigurationAsync(String, String)

Gets the PartnerServiceProviderConfiguration given the partner name.

Declaration
public virtual Task<PartnerServiceProviderConfiguration> GetPartnerServiceProviderConfigurationAsync(string configurationName = null, string partnerName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

System.String partnerName

The partner name.

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

A task that represents the operation and returns the partner service provider configuration.

Exceptions
Type Condition
SamlException

Thrown when the partner service provider configuration cannot be found.

GetPartnerServiceProviderNamesAsync(String)

Gets the names of the partner service providers.

Declaration
public virtual Task<IList<string>> GetPartnerServiceProviderNamesAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IList<System.String>>

A task that represents the operation and returns the names of the partner service providers.

Exceptions
Type Condition
SamlException

Thrown when the partner service provider names cannot be retrieved.

IsLocalIdentityProviderAsync(String)

Indicates whether a local identity provider is configured.

Declaration
public virtual Task<bool> IsLocalIdentityProviderAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

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

true if a local identity provider is configured; otherwise false.

IsLocalServiceProviderAsync(String)

Indicates whether a local service provider is configured.

Declaration
public virtual Task<bool> IsLocalServiceProviderAsync(string configurationName = null)
Parameters
Type Name Description
System.String configurationName

The configuration name or null if none.

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

true if a local service provider is configured; otherwise false.

Implements

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