NanoByte.Common  2.6.1
NanoByte.Common.Net.CliCredentialProvider Class Reference

Asks the user for NetworkCredentials for specific Uris using a command-line prompt. More...

Inheritance diagram for NanoByte.Common.Net.CliCredentialProvider:
NanoByte.Common.Net.CredentialProviderBase NanoByte.Common.MarshalNoTimeout NanoByte.Common.Net.ICredentialProvider

Public Member Functions

 CliCredentialProvider (ITaskHandler handler)
 Creates a new command-line credential provider. More...
 
override? NetworkCredential GetCredential (Uri uri, string authType)
 
- Public Member Functions inherited from NanoByte.Common.Net.CredentialProviderBase
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from NanoByte.Common.Net.CredentialProviderBase
 CredentialProviderBase (ITaskHandler handler)
 Creates a new credential provider. More...
 
bool WasReportedInvalid (Uri uri)
 Checks whether uri was previously reported as invalid and resets the flag. More...
 
- Properties inherited from NanoByte.Common.Net.CredentialProviderBase
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

Asks the user for NetworkCredentials for specific Uris using a command-line prompt.

Constructor & Destructor Documentation

◆ CliCredentialProvider()

NanoByte.Common.Net.CliCredentialProvider.CliCredentialProvider ( ITaskHandler  handler)
inline

Creates a new command-line credential provider.

Parameters
handlerUsed to determine whether and how to ask the user for input.

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