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

상속: BaseVstsAuthentication, IVstsMsaAuthentication
파일 보기 프로젝트 열기: Microsoft/Git-Credential-Manager-for-Windows 1 사용 예제들

공개 메소드들

메소드 설명
InteractiveLogon ( TargetUri targetUri, bool requireCompactToken ) : Task

Opens an interactive logon prompt to acquire acquire an authentication token from the Microsoft Live authentication and identity service.

SetCredentials ( TargetUri targetUri, Credential credentials ) : void

Sets credentials for future use with this authentication object.

Not supported.

VstsMsaAuthentication ( VstsTokenScope tokenScope, ICredentialStore personalAccessTokenStore ) : System

비공개 메소드들

메소드 설명
VstsMsaAuthentication ( ICredentialStore personalAccessTokenStore, ITokenStore vstsIdeTokenCache, IVstsAuthority liveAuthority ) : System

Test constructor which allows for using fake credential stores

메소드 상세

InteractiveLogon() 공개 메소드

Opens an interactive logon prompt to acquire acquire an authentication token from the Microsoft Live authentication and identity service.
public InteractiveLogon ( TargetUri targetUri, bool requireCompactToken ) : Task
targetUri TargetUri /// The uniform resource indicator of the resource access tokens are being requested for. ///
requireCompactToken bool /// True if a compact access token is required; false if a standard token is acceptable. ///
리턴 Task

SetCredentials() 공개 메소드

Sets credentials for future use with this authentication object.
Not supported.
public SetCredentials ( TargetUri targetUri, Credential credentials ) : void
targetUri TargetUri /// The uniform resource indicator of the resource access tokens are being set for. ///
credentials Credential The credentials being set.
리턴 void

VstsMsaAuthentication() 공개 메소드

public VstsMsaAuthentication ( VstsTokenScope tokenScope, ICredentialStore personalAccessTokenStore ) : System
tokenScope VstsTokenScope
personalAccessTokenStore ICredentialStore
리턴 System