C# Class Microsoft.Alm.Authentication.GitHubAuthority

Inheritance: IGitHubAuthority
Show file Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Methods

Method Description
AcquireToken ( TargetUri targetUri, string username, string password, string authenticationCode, GitHubTokenScope scope ) : Task
GitHubAuthority ( string authorityUrl = null ) : System
ValidateCredentials ( TargetUri targetUri, Credential credentials ) : Task

Method Details

AcquireToken() public method

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

GitHubAuthority() public method

public GitHubAuthority ( string authorityUrl = null ) : System
authorityUrl string
return System

ValidateCredentials() public method

public ValidateCredentials ( TargetUri targetUri, Credential credentials ) : Task
targetUri TargetUri
credentials Credential
return Task