tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
BasicOAuthProviderInfo.cs
Go to the documentation of this file.
1using System;
2
4
6{
11 {
15 public string ClientID { get; }
16
20 public bool? GatewayOnly { get; }
21
27 {
28 ArgumentNullException.ThrowIfNull(providerInfo);
29
30 ClientID = providerInfo.ClientId ?? throw new InvalidOperationException("ClientID not set!");
31 GatewayOnly = providerInfo.GatewayOnly;
32 }
33 }
34}
Public information about a given OAuthProvider.
bool? GatewayOnly
If true the OAuth provider may only be used for gateway authentication. If false the OAuth provider m...
bool? GatewayOnly
If true the OAuth provider can only be used for gateway authentication. If false the OAuth provider m...
BasicOAuthProviderInfo(OAuthProviderInfo providerInfo)
Initializes a new instance of the BasicOAuthProviderInfo class.