C# Class Microsoft.Alm.Authentication.BaseAuthentication

Base authentication mechanisms for setting, retrieving, and deleting stored credentials.
Inheritance: IAuthentication
Exibir arquivo Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Methods

Method Description
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

DeleteCredentials() public abstract method

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

GetCredentials() public abstract method

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

SetCredentials() public abstract method

Sets a Credential in the storage used by the authentication object.
public abstract 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.
return void