NanoByte.Common
2.6.1
|
Asks for NetworkCredentials for specific Uris using WindowsCredentials. More...
Public Member Functions | |
override? NetworkCredential | GetCredential (Uri uri, string authType) |
![]() | |
void | ReportInvalid (Uri uri) |
Report that the credentials that were retrieved for uri were incorrect. | |
![]() | |
override? object | InitializeLifetimeService () |
Protected Member Functions | |
WindowsCredentialProvider (ITaskHandler handler) | |
abstract NetworkCredential | Prompt (string target, WindowsCredentialsFlags flags) |
Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials. More... | |
![]() | |
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 | |
![]() | |
bool | Interactive [get] |
![]() | |
bool | Interactive [get] |
Indicates whether the credential provider is interactive, i.e., can ask the user for input. More... | |
Asks for NetworkCredentials for specific Uris using WindowsCredentials.
|
protectedpure virtual |
Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials.
target | A string uniquely identifying the target the credentials are intended for. |
flags | Flags for configuring the prompt. |
Implemented in NanoByte.Common.Net.WindowsDialogCredentialProvider, and NanoByte.Common.Net.WindowsCliCredentialProvider.