Interface IConfigurationResolver
Resolves configuration.
Namespace: ComponentSpace.OpenID.Configuration.Resolver
Assembly: ComponentSpace.OpenID.dll
Syntax
public interface IConfigurationResolver
Properties
ConfigurationName
Gets or sets the optional OpenID configuration name.
For most applications, a single OpenID configuration is used and the OpenID configuration name is not required. For multi-tenanted applications and other special use cases with multiple OpenID configurations, the name specifies the configuration to use.
Declaration
string ConfigurationName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The configuration name. |
Methods
GetClientConfigurationAsync(String)
Gets the client configuration with the specified ID.
Declaration
Task<ClientConfiguration> GetClientConfigurationAsync(string clientID)
Parameters
Type | Name | Description |
---|---|---|
System.String | clientID | The client ID. |
Returns
Type | Description |
---|---|
Task<ClientConfiguration> | A task that represents the operation and returns the client configuration. |
GetProviderConfigurationAsync()
Gets the OpenID provider configuration.
Declaration
Task<ProviderConfiguration> GetProviderConfigurationAsync()
Returns
Type | Description |
---|---|
Task<ProviderConfiguration> | A task that represents the operation and returns the OpenID provider configuration. |