NanoByte.Common  2.6.1
NanoByte.Common.Net.ConfigurationCredentialProvider Class Reference

Gets credentials from IConfiguration. More...

Inheritance diagram for NanoByte.Common.Net.ConfigurationCredentialProvider:

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.


bool Interactive [get]
- Properties inherited from NanoByte.Common.Net.ICredentialProvider
bool Interactive [get]
 Indicates whether the credential provider is interactive, i.e., can ask the user for input. More...

Detailed Description

Gets credentials from IConfiguration.

See also

Constructor & Destructor Documentation

◆ ConfigurationCredentialProvider()

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

Creates a new configuration credential provider.

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: