C# 클래스 Microsoft.Alm.Authentication.BaseAuthentication

Base authentication mechanisms for setting, retrieving, and deleting stored credentials.
상속: IAuthentication
파일 보기 프로젝트 열기: Microsoft/Git-Credential-Manager-for-Windows 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DeleteCredentials() 공개 추상적인 메소드

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. ///
리턴 void

GetCredentials() 공개 추상적인 메소드

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. ///
리턴 Credential

SetCredentials() 공개 추상적인 메소드

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.
리턴 void