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