Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Tokens.​Configuration.​LKGConfigurationCacheOptions

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → LKGConfigurationCacheOptions

Defines the options which can be used to configure the internal LKG configuration cache. See <see cref="T:Microsoft.IdentityModel.Tokens.EventBasedLRUCache`2" /> for more details.

Fields and Constants

public static readonly int
DefaultLKGConfigurationSizeLimit
10 is the default size limit of the cache (in number of items) for last known good configuration.

Properties

Gets or sets the <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> that is used to determine equality of values for <see cref="T:Microsoft.IdentityModel.Tokens.BaseConfiguration" /> .
public int
LastKnownGoodConfigurationSizeLimit
Gets or sets the size limit of the cache (in number of items) for last known good configuration.
The event queue task creation option, default to None instead of LongRunning as LongRunning will always start a task on a new thread instead of a thread from ThreadPool.
public bool
RemoveExpiredValues
Whether or not to remove expired items.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object