NanoByte.Common  2.6.1
NanoByte.Common.Net.CredentialProviderBase Class Referenceabstract

Common base class for ICredentialProvider implementations. More...

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

Public Member Functions

abstract ? NetworkCredential GetCredential (Uri uri, string authType)
 
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

 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

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

Common base class for ICredentialProvider implementations.

Constructor & Destructor Documentation

◆ CredentialProviderBase()

NanoByte.Common.Net.CredentialProviderBase.CredentialProviderBase ( ITaskHandler  handler)
inlineprotected

Creates a new credential provider.

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

Member Function Documentation

◆ WasReportedInvalid()

bool NanoByte.Common.Net.CredentialProviderBase.WasReportedInvalid ( Uri  uri)
inlineprotected

Checks whether uri was previously reported as invalid and resets the flag.


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