StaticConfigurationManager<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
Indicates whether the last known good configuration is still fresh, 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 |
Indicates whether the last known good feature should be used, true by default. (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
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示