NanoByte.Common  2.7.0
NanoByte.Common.Net.CachedCredentialProvider Class Reference

Caching decorator for ICredentialProviders. More...

Inheritance diagram for NanoByte.Common.Net.CachedCredentialProvider:
NanoByte.Common.MarshalNoTimeout NanoByte.Common.Net.ICredentialProvider

Public Member Functions

 CachedCredentialProvider (ICredentialProvider inner)
 Creates a new caching decorator. More...
 
NetworkCredential? GetCredential (Uri uri, string? authType)
 
void ReportInvalid (Uri uri)
 Report that the credentials that were retrieved for uri were incorrect.
 
- Public Member Functions inherited from NanoByte.Common.MarshalNoTimeout
override? object InitializeLifetimeService ()
 

Detailed Description

Caching decorator for ICredentialProviders.

Constructor & Destructor Documentation

◆ CachedCredentialProvider()

NanoByte.Common.Net.CachedCredentialProvider.CachedCredentialProvider ( ICredentialProvider  inner)
inline

Creates a new caching decorator.

Parameters
innerThe inner ICredentialProvider to wrap.

The documentation for this class was generated from the following file: