Udostępnij za pośrednictwem


ConfigurationManager<T>.GetBaseConfigurationAsync Method

Definition

Obtains an updated version of Configuration.

public override System.Threading.Tasks.Task<Microsoft.IdentityModel.Tokens.BaseConfiguration> GetBaseConfigurationAsync (System.Threading.CancellationToken cancel);
override this.GetBaseConfigurationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Tokens.BaseConfiguration>
Public Overrides Function GetBaseConfigurationAsync (cancel As CancellationToken) As Task(Of BaseConfiguration)

Parameters

cancel
CancellationToken

CancellationToken

Returns

Configuration of type BaseConfiguration .

Remarks

If the time since the last call is less than AutomaticRefreshInterval then GetConfigurationAsync(String, IDocumentRetriever, CancellationToken) is not called and the current Configuration is returned.

Applies to