2using System.Threading.Tasks;
18 ValueTask<IGitHubClient>
CreateClient(CancellationToken cancellationToken);
26 ValueTask<IGitHubClient>
CreateClient(
string accessToken, CancellationToken cancellationToken);
Identifies a repository either by its RepositoryId or Owner and Name.
For creating IGitHubClients.
ValueTask< IGitHubClient?> CreateClientForRepository(string accessString, RepositoryIdentifier repositoryIdentifier, CancellationToken cancellationToken)
Creates a GitHub client that will only be used for a given repositoryIdentifier .
ValueTask< IGitHubClient > CreateClient(CancellationToken cancellationToken)
Create a IGitHubClient client. Low rate limit unless the server's GitHubAccessToken is set to bypass ...
IGitHubClient? CreateAppClient(string tgsEncodedAppPrivateKey)
Create an App (not installation) authenticated IGitHubClient.
ValueTask< IGitHubClient > CreateClient(string accessToken, CancellationToken cancellationToken)
Create a client with authentication using a personal access token.