ConfigurationManager<T> Constructors

Definition

Overloads

ConfigurationManager<T>(String, IConfigurationRetriever<T>)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

ConfigurationManager<T>(String, IConfigurationRetriever<T>, IDocumentRetriever)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

ConfigurationManager<T>(String, IConfigurationRetriever<T>, HttpClient)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

ConfigurationManager<T>(String, IConfigurationRetriever<T>)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

public ConfigurationManager (string metadataAddress, Microsoft.IdentityModel.Protocols.IConfigurationRetriever<T> configRetriever);
new Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)> : string * Microsoft.IdentityModel.Protocols.IConfigurationRetriever<'T (requires 'T : null)> -> Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)>
Public Sub New (metadataAddress As String, configRetriever As IConfigurationRetriever(Of T))

Parameters

metadataAddress
System.String

The address to obtain configuration.

Applies to

ConfigurationManager<T>(String, IConfigurationRetriever<T>, IDocumentRetriever)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

public ConfigurationManager (string metadataAddress, Microsoft.IdentityModel.Protocols.IConfigurationRetriever<T> configRetriever, Microsoft.IdentityModel.Protocols.IDocumentRetriever docRetriever);
new Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)> : string * Microsoft.IdentityModel.Protocols.IConfigurationRetriever<'T (requires 'T : null)> * Microsoft.IdentityModel.Protocols.IDocumentRetriever -> Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)>
Public Sub New (metadataAddress As String, configRetriever As IConfigurationRetriever(Of T), docRetriever As IDocumentRetriever)

Parameters

metadataAddress
System.String

The address to obtain configuration.

docRetriever
IDocumentRetriever

The IDocumentRetriever that reaches out to obtain the configuration.

Exceptions

System.ArgumentNullException

If 'docRetriever' is null.

Applies to

ConfigurationManager<T>(String, IConfigurationRetriever<T>, HttpClient)

Instantiates a new ConfigurationManager<T> that manages automatic and controls refreshing on configuration data.

public ConfigurationManager (string metadataAddress, Microsoft.IdentityModel.Protocols.IConfigurationRetriever<T> configRetriever, System.Net.Http.HttpClient httpClient);
new Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)> : string * Microsoft.IdentityModel.Protocols.IConfigurationRetriever<'T (requires 'T : null)> * System.Net.Http.HttpClient -> Microsoft.IdentityModel.Protocols.ConfigurationManager<'T (requires 'T : null)>
Public Sub New (metadataAddress As String, configRetriever As IConfigurationRetriever(Of T), httpClient As HttpClient)

Parameters

metadataAddress
System.String

The address to obtain configuration.

httpClient
System.Net.Http.HttpClient

The client to use when obtaining configuration.

Applies to