tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Repository
ICredentialsProvider.cs
Go to the documentation of this file.
1
using
LibGit2Sharp;
2
using
LibGit2Sharp.Handlers;
3
4
using
Tgstation.Server.Host.Jobs
;
5
6
namespace
Tgstation.Server.Host.Components.Repository
7
{
11
interface
ICredentialsProvider
12
{
19
CredentialsHandler
GenerateCredentialsHandler
(
string
? username,
string
? password);
20
25
public
void
CheckBadCredentialsException
(LibGit2SharpException exception);
26
}
27
}
Tgstation.Server.Host.Components.Repository.ICredentialsProvider
For generating CredentialsHandlers.
Definition
ICredentialsProvider.cs:12
Tgstation.Server.Host.Components.Repository.ICredentialsProvider.GenerateCredentialsHandler
CredentialsHandler GenerateCredentialsHandler(string? username, string? password)
Generate a CredentialsHandler from a given username and password .
Tgstation.Server.Host.Components.Repository.ICredentialsProvider.CheckBadCredentialsException
void CheckBadCredentialsException(LibGit2SharpException exception)
Rethrow the authentication failure message as a JobException if it is one.
Tgstation.Server.Host.Components.Repository
Definition
DefaultGitRemoteFeatures.cs:8
Tgstation.Server.Host.Jobs
Definition
IJobManager.cs:8
Generated by
1.9.8