Class AbstractSAMLConfigurationResolver
An abstract implementation of the SAML configuration resolver.
Implements
Inherited Members
Namespace: ComponentSpace.SAML2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class AbstractSAMLConfigurationResolver : ISAMLConfigurationResolver
Methods
GetLocalIdentityProviderConfiguration(string)
Gets the LocalIdentityProviderConfiguration.
Declaration
public virtual LocalIdentityProviderConfiguration GetLocalIdentityProviderConfiguration(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| LocalIdentityProviderConfiguration | The local identity provider configuration. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the local identity provider configuration cannot be found. |
GetLocalServiceProviderConfiguration(string)
Gets the LocalServiceProviderConfiguration.
Declaration
public virtual LocalServiceProviderConfiguration GetLocalServiceProviderConfiguration(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| LocalServiceProviderConfiguration | The local service provider configuration. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the local service provider configuration cannot be found. |
GetPartnerIdentityProviderConfiguration(string, string)
Gets the PartnerIdentityProviderConfiguration given the partner name.
Declaration
public virtual PartnerIdentityProviderConfiguration GetPartnerIdentityProviderConfiguration(string configurationName, string partnerName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
| string | partnerName | The partner name. |
Returns
| Type | Description |
|---|---|
| PartnerIdentityProviderConfiguration | The partner identity provider configuration. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner identity provider configuration cannot be found. |
GetPartnerIdentityProviderNames(string)
Gets the names of the partner identity providers.
Declaration
public virtual IList<string> GetPartnerIdentityProviderNames(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| IList<string> | The names of the partner identity providers. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner identity provider names cannot be retrieved. |
GetPartnerServiceProviderConfiguration(string, string)
Gets the PartnerServiceProviderConfiguration given the partner name.
Declaration
public virtual PartnerServiceProviderConfiguration GetPartnerServiceProviderConfiguration(string configurationName, string partnerName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
| string | partnerName | The partner name. |
Returns
| Type | Description |
|---|---|
| PartnerServiceProviderConfiguration | The partner service provider configuration. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner service provider configuration cannot be found. |
GetPartnerServiceProviderNames(string)
Gets the names of the partner service providers.
Declaration
public virtual IList<string> GetPartnerServiceProviderNames(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| IList<string> | The names of the partner service providers. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner service provider names cannot be retrieved. |
IsLocalIdentityProvider(string)
Indicates whether a local identity provider is configured.
Declaration
public virtual bool IsLocalIdentityProvider(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| bool |
|
IsLocalServiceProvider(string)
Indicates whether a local service provider is configured.
Declaration
public virtual bool IsLocalServiceProvider(string configurationName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
Returns
| Type | Description |
|---|---|
| bool |
|