C# Class NanoByte.Common.Net.CredentialProviderBase

Common base class for ICredentialProvider implementations.
Inheritance: MarshalNoTimeout, ICredentialProvider
Mostrar archivo Open project: nano-byte/common

Public Methods

Method Description
ReportInvalid ( Uri uri ) : void

Protected Methods

Method Description
CredentialProviderBase ( bool interactive ) : System

Creates a new credential provider.

WasReportedInvalid ( [ uri ) : bool

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

Private Methods

Method Description
GetCredential ( Uri uri, string authType ) : NetworkCredential

Method Details

CredentialProviderBase() protected method

Creates a new credential provider.
protected CredentialProviderBase ( bool interactive ) : System
interactive bool Indicates whether the credential provider is interactive, i.e., can ask the user for input.
return System

ReportInvalid() public method

public ReportInvalid ( Uri uri ) : void
uri System.Uri
return void

WasReportedInvalid() protected method

Checks whether uri was previously reported as invalid and resets the flag.
protected WasReportedInvalid ( [ uri ) : bool
uri [
return bool