tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Utils
GitHub
IGitHubServiceFactory.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
namespace
Tgstation.Server.Host.Utils.GitHub
5
{
9
public
interface
IGitHubServiceFactory
10
{
16
public
ValueTask<IGitHubService>
CreateService
(CancellationToken cancellationToken);
17
24
public
ValueTask<IAuthenticatedGitHubService>
CreateService
(
string
accessToken, CancellationToken cancellationToken);
25
33
public
ValueTask<IAuthenticatedGitHubService?>
CreateService
(
string
accessString,
RepositoryIdentifier
repositoryIdentifier, CancellationToken cancellationToken);
34
}
35
}
Tgstation.Server.Host.Utils.GitHub.RepositoryIdentifier
Identifies a repository either by its RepositoryId or Owner and Name.
Definition
RepositoryIdentifier.cs:13
Tgstation.Server.Host.Utils.GitHub.IGitHubServiceFactory
Factory for IGitHubServices.
Definition
IGitHubServiceFactory.cs:10
Tgstation.Server.Host.Utils.GitHub.IGitHubServiceFactory.CreateService
ValueTask< IAuthenticatedGitHubService?> CreateService(string accessString, RepositoryIdentifier repositoryIdentifier, CancellationToken cancellationToken)
Create an IAuthenticatedGitHubService.
Tgstation.Server.Host.Utils.GitHub.IGitHubServiceFactory.CreateService
ValueTask< IGitHubService > CreateService(CancellationToken cancellationToken)
Create a IGitHubService.
Tgstation.Server.Host.Utils.GitHub.IGitHubServiceFactory.CreateService
ValueTask< IAuthenticatedGitHubService > CreateService(string accessToken, CancellationToken cancellationToken)
Create an IAuthenticatedGitHubService.
Tgstation.Server.Host.Utils.GitHub
Definition
GitHubClientFactory.cs:21
Generated by
1.9.8