NanoByte.Common  2.10.5
NanoByte.Common.Net.ConfigurationCredentialProvider Class Reference

Gets credentials from IConfiguration. More...

Inheritance diagram for NanoByte.Common.Net.ConfigurationCredentialProvider:
NanoByte.Common.Net.ICredentialProvider

Public Member Functions

 ConfigurationCredentialProvider (IConfiguration configuration)
 Creates a new configuration credential provider. More...
 
NetworkCredential GetCredential (Uri uri, string authType)
 
void ReportInvalid (Uri uri)
 Report that the credentials that were retrieved for uri were incorrect.
 

Detailed Description

Gets credentials from IConfiguration.

See also
ConfigurationCredentialProviderRegistration.ConfigureCredentials

Constructor & Destructor Documentation

◆ ConfigurationCredentialProvider()

NanoByte.Common.Net.ConfigurationCredentialProvider.ConfigurationCredentialProvider ( IConfiguration  configuration)

Creates a new configuration credential provider.

Parameters
configurationThe configuration containing credentials. Each URI must be a subsection with User and Password values.

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