tgstation-server 6.6.1
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IOAuthValidator.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
5
7{
11 public interface IOAuthValidator
12 {
17
23
30 ValueTask<string?> ValidateResponseCode(string code, CancellationToken cancellationToken);
31 }
32}
Public information about a given OAuthProvider.
Validates OAuth responses for a given Provider.
OAuthProvider Provider
The OAuthProvider this validator is for.
OAuthProviderInfo GetProviderInfo()
Gets the OAuthProvider of validator.
ValueTask< string?> ValidateResponseCode(string code, CancellationToken cancellationToken)
Validate a given OAuth response code .
OAuthProvider
List of OAuth providers supported by TGS.