Class RegexSAMLConfigurationNameResolver
Resolves configuration names.
Issuer names are matched against partner provider configuration regular expressions.
Implements
Inherited Members
Namespace: ComponentSpace.SAML2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public class RegexSAMLConfigurationNameResolver : ISAMLConfigurationNameResolver
Methods
GetPartnerIdentityProviderName(string, string)
Gets the name of the partner identity provider configuration to use for the SAML message identified by its issuer.
Declaration
public virtual string GetPartnerIdentityProviderName(string configurationName, string issuerName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
| string | issuerName | The issuer name. |
Returns
| Type | Description |
|---|---|
| string | The partner identity provider configuration name. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner identity provider configuration name cannot be found. |
GetPartnerServiceProviderName(string, string)
Gets the name of the partner service provider configuration to use for the SAML message identified by its issuer.
Declaration
public virtual string GetPartnerServiceProviderName(string configurationName, string issuerName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | configurationName | The configuration name or |
| string | issuerName | The issuer name. |
Returns
| Type | Description |
|---|---|
| string | The partner service provider configuration name. |
Exceptions
| Type | Condition |
|---|---|
| SAMLException | Thrown when the partner service provider configuration name cannot be found. |