tgstation-server 6.19.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ICredentialsProvider.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
4using LibGit2Sharp;
5using LibGit2Sharp.Handlers;
6
8
10{
15 {
24 ValueTask<CredentialsHandler> GenerateCredentialsHandler(IGitRemoteFeatures remoteFeatures, string? username, string? password, CancellationToken cancellationToken);
25
30 public void CheckBadCredentialsException(LibGit2SharpException exception);
31 }
32}
ValueTask< CredentialsHandler > GenerateCredentialsHandler(IGitRemoteFeatures remoteFeatures, string? username, string? password, CancellationToken cancellationToken)
Generate a CredentialsHandler from a given username and password .
void CheckBadCredentialsException(LibGit2SharpException exception)
Rethrow the authentication failure message as a JobException if it is one.