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

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

공개 메소드들

메소드 설명
AcquireToken ( TargetUri targetUri, string username, string password, string authenticationCode, GitHubTokenScope scope ) : Task
GitHubAuthority ( string authorityUrl = null ) : System
ValidateCredentials ( TargetUri targetUri, Credential credentials ) : Task

메소드 상세

AcquireToken() 공개 메소드

public AcquireToken ( TargetUri targetUri, string username, string password, string authenticationCode, GitHubTokenScope scope ) : Task
targetUri TargetUri
username string
password string
authenticationCode string
scope GitHubTokenScope
리턴 Task

GitHubAuthority() 공개 메소드

public GitHubAuthority ( string authorityUrl = null ) : System
authorityUrl string
리턴 System

ValidateCredentials() 공개 메소드

public ValidateCredentials ( TargetUri targetUri, Credential credentials ) : Task
targetUri TargetUri
credentials Credential
리턴 Task