次の方法で共有


StaticConfigurationManager<T> Class

Definition

This type is for users that want a fixed and static Configuration. In this case, the configuration is obtained and passed to the constructor.

public class StaticConfigurationManager<T> : Microsoft.IdentityModel.Tokens.BaseConfigurationManager, Microsoft.IdentityModel.Protocols.IConfigurationManager<T> where T : class
type StaticConfigurationManager<'T (requires 'T : null)> = class
    inherit BaseConfigurationManager
    interface IConfigurationManager<'T (requires 'T : null)>
Public Class StaticConfigurationManager(Of T)
Inherits BaseConfigurationManager
Implements IConfigurationManager(Of T)

Type Parameters

T

must be a class.

Inheritance
StaticConfigurationManager<T>
Implements

Constructors

StaticConfigurationManager<T>(T)

Initializes an new instance of StaticConfigurationManager<T> with a Configuration instance.

Properties

AutomaticRefreshInterval

Gets or sets the TimeSpan that controls how often an automatic metadata refresh should occur.

(Inherited from BaseConfigurationManager)
IsLastKnownGoodValid

Gets a value indicating whether the last known good configuration is still valid, depends on when the LKG was first used and it's lifetime.

(Inherited from BaseConfigurationManager)
LastKnownGoodConfiguration

The last known good configuration or LKG (a configuration retrieved in the past that we were able to successfully validate a token against).

(Inherited from BaseConfigurationManager)
LastKnownGoodLifetime

The length of time that a last known good configuration is valid for.

(Inherited from BaseConfigurationManager)
MetadataAddress

The metadata address to retrieve the configuration from.

(Inherited from BaseConfigurationManager)
RefreshInterval

The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested.

(Inherited from BaseConfigurationManager)
UseLastKnownGoodConfiguration

Gets or sets a value indicating whether to use the last known good configuration. Default is true.

(Inherited from BaseConfigurationManager)

Methods

GetBaseConfigurationAsync(CancellationToken)

Obtains an updated version of Configuration.

GetConfigurationAsync(CancellationToken)

Obtains an updated version of Configuration.

RequestRefresh()

For the this type, this is a no-op

Applies to