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

Facilitates basic authentication using simple username and password schemes.
상속: BaseAuthentication, IAuthentication
파일 보기 프로젝트 열기: Microsoft/Git-Credential-Manager-for-Windows

공개 프로퍼티들

프로퍼티 타입 설명
NtlmCredentials Credential

Private Properties

프로퍼티 타입 설명

공개 메소드들

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

메소드 상세

AcquireCredentials() 공개 메소드

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

BasicAuthentication() 공개 메소드

public BasicAuthentication ( ICredentialStore credentialStore ) : System
credentialStore ICredentialStore
리턴 System

BasicAuthentication() 공개 메소드

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

DeleteCredentials() 공개 메소드

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

GetCredentials() 공개 메소드

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

SetCredentials() 공개 메소드

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

프로퍼티 상세

NtlmCredentials 공개적으로 정적으로 프로퍼티

public static Credential,Microsoft.Alm.Authentication NtlmCredentials
리턴 Credential