Interface ISAMLConfigurationResolver
Resolves configuration.
Namespace: ComponentSpace.SAML2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface ISAMLConfigurationResolver
Methods
GetLocalIdentityProviderConfiguration(String)
Gets the LocalIdentityProviderConfiguration
.
Declaration
LocalIdentityProviderConfiguration GetLocalIdentityProviderConfiguration(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.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
LocalServiceProviderConfiguration GetLocalServiceProviderConfiguration(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.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
PartnerIdentityProviderConfiguration GetPartnerIdentityProviderConfiguration(string configurationName, string partnerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
System.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
IList<string> GetPartnerIdentityProviderNames(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.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
PartnerServiceProviderConfiguration GetPartnerServiceProviderConfiguration(string configurationName, string partnerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
System.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
IList<string> GetPartnerServiceProviderNames(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.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
bool IsLocalIdentityProvider(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
Returns
Type | Description |
---|---|
System.Boolean |
|
IsLocalServiceProvider(String)
Indicates whether a local service provider is configured.
Declaration
bool IsLocalServiceProvider(string configurationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
Returns
Type | Description |
---|---|
System.Boolean |
|