NanoByte.Common  2.10.5
NanoByte.Common.Net.WindowsCredentialProvider Class Referenceabstract

Gets NetworkCredentials using the Windows Credential Manager. More...

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

Public Member Functions

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.
 

Protected Member Functions

abstract ? NetworkCredential Prompt (string target, WindowsCredentialsFlags flags)
 Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials. More...
 
- Protected Member Functions inherited from NanoByte.Common.Net.CredentialProviderBase
bool WasReportedInvalid (Uri uri)
 Checks whether uri was previously reported as invalid and resets the flag. More...
 

Detailed Description

Gets NetworkCredentials using the Windows Credential Manager.

Member Function Documentation

◆ Prompt()

abstract ? NetworkCredential NanoByte.Common.Net.WindowsCredentialProvider.Prompt ( string  target,
WindowsCredentialsFlags  flags 
)
protectedpure virtual

Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials.

Parameters
targetA string uniquely identifying the target the credentials are intended for.
flagsFlags for configuring the prompt.

Implemented in NanoByte.Common.Net.WindowsSilentCredentialProvider, NanoByte.Common.Net.WindowsGuiCredentialProvider, and NanoByte.Common.Net.WindowsCliCredentialProvider.


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