C# Class NanoByte.Common.Net.CredentialProviderBase

Common base class for ICredentialProvider implementations.
Inheritance: MarshalNoTimeout, ICredentialProvider
Afficher le fichier Open project: nano-byte/common

Méthodes publiques

Méthode Description
ReportInvalid ( Uri uri ) : void

Méthodes protégées

Méthode 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

Méthode Description
GetCredential ( Uri uri, string authType ) : NetworkCredential

Method Details

CredentialProviderBase() protected méthode

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.
Résultat System

ReportInvalid() public méthode

public ReportInvalid ( Uri uri ) : void
uri System.Uri
Résultat void

WasReportedInvalid() protected méthode

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