<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.14.0" />

Microsoft.IdentityModel.Protocols.ConfigurationManager<T>

public class ConfigurationManager<T> : BaseConfigurationManager, IConfigurationManager<T>
Manages the retrieval of Configuration data.

12 hours is the default time interval that afterwards, GetBaseConfigurationAsync will obtain new configuration.

public static readonly TimeSpan DefaultRefreshInterval

5 minutes is the default time interval that must pass for RequestRefresh to obtain a new configuration.

5 minutes is the minimum value for automatic refresh. MinimumAutomaticRefreshInterval can not be set less than this value.

public static readonly TimeSpan MinimumRefreshInterval

1 second is the minimum time interval that must pass for MinimumRefreshInterval to obtain new configuration.

Gets or sets the optional configuration event handler.

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, HttpClient httpClient)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, IDocumentRetriever docRetriever)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, IDocumentRetriever docRetriever, LastKnownGoodConfigurationCacheOptions lkgCacheOptions)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, IDocumentRetriever docRetriever, IConfigurationValidator<T> configValidator)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, IDocumentRetriever docRetriever, IConfigurationValidator<T> configValidator, LastKnownGoodConfigurationCacheOptions lkgCacheOptions)

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

public ConfigurationManager(string metadataAddress, IConfigurationRetriever<T> configRetriever, IDocumentRetriever docRetriever, IConfigurationValidator<T> configValidator, LastKnownGoodConfigurationCacheOptions lkgCacheOptions, IConfigurationEventHandler<T> configurationEventHandler)

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

Obtains an updated version of Configuration.

public virtual Task<T> GetConfigurationAsync(CancellationToken cancel)

Obtains an updated version of Configuration.