NanoByte.Common  2.6.1
NanoByte.Common.Net.WindowsCliCredentialProvider Class Reference

Asks for NetworkCredentials for specific Uris using WindowsCredentials.PromptCli. More...

Inheritance diagram for NanoByte.Common.Net.WindowsCliCredentialProvider:
NanoByte.Common.Net.WindowsCredentialProvider NanoByte.Common.Net.CredentialProviderBase NanoByte.Common.MarshalNoTimeout NanoByte.Common.Net.ICredentialProvider

Public Member Functions

 WindowsCliCredentialProvider (ITaskHandler handler)
 Creates a new Windows command-line credential provider. More...
 
- Public Member Functions inherited from NanoByte.Common.Net.WindowsCredentialProvider
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 ()
 

Protected Member Functions

override NetworkCredential Prompt (string target, WindowsCredentialsFlags flags)
 Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials.
 
- Protected Member Functions inherited from NanoByte.Common.Net.WindowsCredentialProvider
 WindowsCredentialProvider (ITaskHandler handler)
 
- 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...
 

Additional Inherited Members

- 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 for NetworkCredentials for specific Uris using WindowsCredentials.PromptCli.

Constructor & Destructor Documentation

◆ WindowsCliCredentialProvider()

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

Creates a new Windows 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: