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.​IdentityModel.​Client.​DiscoveryCache
Assembly: Duende.IdentityModel
Inheritance: object → DiscoveryCache
Implemented Interfaces
Helper for caching discovery documents.
Properties
CacheDuration
Frequency to refresh discovery document. Defaults to 24 hours.
Methods
public
System.​Threading.​Tasks.​Task<​DiscoveryDocumentResponse>
GetAsync​()
Get the DiscoveryResponse either from cache or from discovery endpoint.
public
void
Refresh​()
Marks the discovery document as stale and will trigger a request to the discovery endpoint on the next request to get the DiscoveryResponse.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object