C# Class Microsoft.Alm.Authentication.BasicAuthentication

Facilitates basic authentication using simple username and password schemes.
Inheritance: BaseAuthentication, IAuthentication
Afficher le fichier Open project: Microsoft/Git-Credential-Manager-for-Windows

Méthodes publiques

Свойство Type Description
NtlmCredentials Credential

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AcquireCredentials ( TargetUri targetUri ) : Task

Acquires credentials via the registered callbacks.

BasicAuthentication ( ICredentialStore credentialStore ) : System
BasicAuthentication ( ICredentialStore credentialStore, NtlmSupport ntlmSupport, AcquireCredentialsDelegate acquireCredentialsCallback, AcquireResultDelegate acquireResultCallback ) : System

Creates a new BasicAuthentication object with an underlying credential store.

DeleteCredentials ( TargetUri targetUri ) : void

Deletes a Credential from the storage used by the authentication object.

GetCredentials ( TargetUri targetUri ) : Credential

Gets a Credential from the storage used by the authentication object.

SetCredentials ( TargetUri targetUri, Credential credentials ) : void

Sets a Credential in the storage used by the authentication object.

Method Details

AcquireCredentials() public méthode

Acquires credentials via the registered callbacks.
public AcquireCredentials ( TargetUri targetUri ) : Task
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
Résultat Task

BasicAuthentication() public méthode

public BasicAuthentication ( ICredentialStore credentialStore ) : System
credentialStore ICredentialStore
Résultat System

BasicAuthentication() public méthode

Creates a new BasicAuthentication object with an underlying credential store.
public BasicAuthentication ( ICredentialStore credentialStore, NtlmSupport ntlmSupport, AcquireCredentialsDelegate acquireCredentialsCallback, AcquireResultDelegate acquireResultCallback ) : System
credentialStore ICredentialStore /// The to delegate to. ///
ntlmSupport NtlmSupport /// The level of NTLM support to be provided by this instance. /// If `` is used, the /// `` and `` /// will be ignored by ``. ///
acquireCredentialsCallback AcquireCredentialsDelegate /// (optional) delegate for acquiring credentials. ///
acquireResultCallback AcquireResultDelegate /// (optional) delegate for notification of acquisition results. ///
Résultat System

DeleteCredentials() public méthode

Deletes a Credential from the storage used by the authentication object.
public DeleteCredentials ( TargetUri targetUri ) : void
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
Résultat void

GetCredentials() public méthode

Gets a Credential from the storage used by the authentication object.
public GetCredentials ( TargetUri targetUri ) : Credential
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
Résultat Credential

SetCredentials() public méthode

Sets a Credential in the storage used by the authentication object.
public SetCredentials ( TargetUri targetUri, Credential credentials ) : void
targetUri TargetUri /// The uniform resource indicator used to uniquely identify the credentials. ///
credentials Credential The value to be stored.
Résultat void

Property Details

NtlmCredentials public_oe static_oe property

public static Credential,Microsoft.Alm.Authentication NtlmCredentials
Résultat Credential