tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Configuration
OAuthConfigurationBase.cs
Go to the documentation of this file.
1
using
System;
2
3
namespace
Tgstation.Server.Host.Configuration
4
{
8
public
abstract
class
OAuthConfigurationBase
9
{
13
public
string
?
ClientId
{
get
;
set
; }
14
18
public
string
?
ClientSecret
{
get
;
set
; }
19
23
public
OAuthGatewayStatus
?
Gateway
{
get
;
set
; }
24
28
public
OAuthConfigurationBase
()
29
{
30
}
31
36
public
OAuthConfigurationBase
(
OAuthConfigurationBase
oAuthConfiguration)
37
{
38
ArgumentNullException.ThrowIfNull(oAuthConfiguration);
39
ClientId
= oAuthConfiguration.
ClientId
;
40
ClientSecret
= oAuthConfiguration.
ClientSecret
;
41
Gateway
= oAuthConfiguration.
Gateway
;
42
}
43
}
44
}
Tgstation.Server.Host.Configuration.OAuthConfigurationBase
Base OAuth options.
Definition
OAuthConfigurationBase.cs:9
Tgstation.Server.Host.Configuration.OAuthConfigurationBase.ClientSecret
string? ClientSecret
The client secret.
Definition
OAuthConfigurationBase.cs:18
Tgstation.Server.Host.Configuration.OAuthConfigurationBase.OAuthConfigurationBase
OAuthConfigurationBase()
Initializes a new instance of the OAuthConfigurationBase class.
Definition
OAuthConfigurationBase.cs:28
Tgstation.Server.Host.Configuration.OAuthConfigurationBase.ClientId
string? ClientId
The client ID.
Definition
OAuthConfigurationBase.cs:13
Tgstation.Server.Host.Configuration.OAuthConfigurationBase.Gateway
OAuthGatewayStatus? Gateway
If the OAuth setup is only to be used for passing the user's OAuth token to clients.
Definition
OAuthConfigurationBase.cs:23
Tgstation.Server.Host.Configuration.OAuthConfigurationBase.OAuthConfigurationBase
OAuthConfigurationBase(OAuthConfigurationBase oAuthConfiguration)
Initializes a new instance of the OAuthConfigurationBase class.
Definition
OAuthConfigurationBase.cs:36
Tgstation.Server.Host.Configuration
Definition
ControlPanelConfiguration.cs:4
Tgstation.Server.Host.OAuthGatewayStatus
OAuthGatewayStatus
Status of the OAuth gateway for a provider.
Definition
OAuthGatewayStatus.cs:7
Generated by
1.9.8