Share via


BaseConfigurationManager.GetBaseConfigurationAsync(CancellationToken) Method

Definition

Obtains an updated version of BaseConfiguration if the appropriate refresh interval has passed. This method may return a cached version of the configuration.

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

Parameters

cancel
CancellationToken

A cancellation token that can be used to cancel the asynchronous operation.

Returns

Configuration of type Configuration.

Remarks

This method on the base class throws a NotImplementedException as it is meant to be overridden by the class that extends it.

Applies to