2using System.Collections.Generic;
 
    4using System.Threading.Tasks;
 
   30        ValueTask<Dictionary<Version, Release>> 
GetTgsReleases(CancellationToken cancellationToken);
 
   48        ValueTask<long> 
GetRepositoryId(
string repoOwner, 
string repoName, CancellationToken cancellationToken);
 
   65        Task<PullRequest> 
GetPullRequest(
string repoOwner, 
string repoName, 
int pullRequestNumber, CancellationToken cancellationToken);
 
   75        Task<GitHubCommit> 
GetCommit(
string repoOwner, 
string repoName, 
string committish, CancellationToken cancellationToken);
 
 
OAuth configuration options.
 
Service for interacting with the GitHub API.
 
ValueTask< string > CreateOAuthAccessToken(OAuthConfiguration oAuthConfiguration, string code, CancellationToken cancellationToken)
Attempt to get an OAuth token from a given code .
 
ValueTask< long > GetCurrentUserId(CancellationToken cancellationToken)
Get the current user's ID.
 
ValueTask< Dictionary< Version, Release > > GetTgsReleases(CancellationToken cancellationToken)
Get all valid TGS Releases from the configured update source.
 
ValueTask< long > GetRepositoryId(string repoOwner, string repoName, CancellationToken cancellationToken)
Get a target repostiory's ID.
 
ValueTask< Uri > GetUpdatesRepositoryUrl(CancellationToken cancellationToken)
Gets the Uri of the repository designated as the updates repository.
 
Task< GitHubCommit > GetCommit(string repoOwner, string repoName, string committish, CancellationToken cancellationToken)
Get a given committish .
 
Task< PullRequest > GetPullRequest(string repoOwner, string repoName, int pullRequestNumber, CancellationToken cancellationToken)
Get a given pullRequestNumber .