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 Duende.​IdentityServer.​Configuration.​CachingOptions

Assembly: Duende.IdentityServer

Inheritance: object → CachingOptions

Cache duration settings for client, resource, CORS, and identity provider store lookups. These settings only apply when the respective caching has been enabled during service registration.

Properties

ClientStoreExpiration
Gets or sets how long client configuration loaded from the client store is cached.
Remarks Defaults to 15 minutes. Only effective when client store caching is enabled (e.g., via <c>AddClientStoreCache</c> ).
ResourceStoreExpiration
Gets or sets how long identity and API resource configuration loaded from the resource store is cached.
Remarks Defaults to 15 minutes. Only effective when resource store caching is enabled (e.g., via <c>AddResourceStoreCache</c> ).
CorsExpiration
Gets or sets how long CORS origin configuration loaded from the CORS policy service is cached.
Remarks Defaults to 15 minutes. Only effective when CORS caching is enabled (e.g., via <c>AddCorsPolicyCache</c> ).
IdentityProviderCacheDuration
Gets or sets how long identity provider configuration loaded from the identity provider store is cached.
Remarks Defaults to 60 minutes. Only effective when identity provider store caching is enabled.
SamlServiceProviderStoreExpiration
Gets or sets how long SAML service provider configuration loaded from the service provider store is cached.
Remarks Defaults to 15 minutes. Only effective when SAML service provider store caching is enabled (e.g., via <c>AddSamlServiceProviderStoreCache</c> ).
CacheLockTimeout
Gets or sets the timeout for concurrency locking in the default cache.
Remarks Defaults to 60 seconds. This property is no longer used by configuration-store caching (HybridCache provides built-in stampede protection). It is still used internally by KeyManager for key-management locking.

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