Interface ISamlConfigurationNameResolver
Resolves configuration names.
Namespace: ComponentSpace.Saml2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface ISamlConfigurationNameResolver
Methods
GetPartnerIdentityProviderNameAsync(String, String)
Gets the name of the partner identity provider configuration to use for the SAML message identified by its issuer.
Declaration
Task<string> GetPartnerIdentityProviderNameAsync(string configurationName = null, string issuerName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
System.String | issuerName | The issuer name. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | The partner identity provider configuration name. |
Exceptions
Type | Condition |
---|---|
SamlException | Thrown when the partner identity provider configuration name cannot be found. |
GetPartnerServiceProviderNameAsync(String, String)
Gets the name of the partner service provider configuration to use for the SAML message identified by its issuer.
Declaration
Task<string> GetPartnerServiceProviderNameAsync(string configurationName = null, string issuerName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | configurationName | The configuration name or |
System.String | issuerName | The issuer name. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | The partner service provider configuration name. |
Exceptions
Type | Condition |
---|---|
SamlException | Thrown when the partner service provider configuration name cannot be found. |