Class SAMLConfigurationNameResolver
Resolves configuration names.
Issuer names map directly to partner provider configuration names.
Inheritance
System.Object
SAMLConfigurationNameResolver
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Configuration.Resolver
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SAMLConfigurationNameResolver : 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 |
---|---|---|
System.String | configurationName | The configuration name or |
System.String | issuerName | The issuer name. |
Returns
Type | Description |
---|---|
System.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 |
---|---|---|
System.String | configurationName | The configuration name or |
System.String | issuerName | The issuer name. |
Returns
Type | Description |
---|---|
System.String | The partner service provider configuration name. |
Exceptions
Type | Condition |
---|---|
SAMLException | Thrown when the partner service provider configuration name cannot be found. |