tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
GraphQL
Types
OAuth
ServerUrlOAuthProviderInfo.cs
Go to the documentation of this file.
1
using
System;
2
3
using
Tgstation.Server.Api.Models
;
4
5
namespace
Tgstation.Server.Host.GraphQL.Types.OAuth
6
{
10
public
sealed
class
ServerUrlOAuthProviderInfo
:
BasicOAuthProviderInfo
11
{
15
public
Uri
ServerUrl
{
get
; }
16
21
public
ServerUrlOAuthProviderInfo
(
OAuthProviderInfo
providerInfo)
22
: base(providerInfo)
23
{
24
ServerUrl
= providerInfo!.
ServerUrl
??
throw
new
InvalidOperationException(
"ServerUrl not set!"
);
25
}
26
}
27
}
Tgstation.Server.Api.Models.OAuthProviderInfo
Public information about a given OAuthProvider.
Definition
OAuthProviderInfo.cs:9
Tgstation.Server.Api.Models.OAuthProviderInfo.ServerUrl
Uri? ServerUrl
The server URL.
Definition
OAuthProviderInfo.cs:24
Tgstation.Server.Host.GraphQL.Types.OAuth.BasicOAuthProviderInfo
Basic OAuth provider info.
Definition
BasicOAuthProviderInfo.cs:11
Tgstation.Server.Host.GraphQL.Types.OAuth.ServerUrlOAuthProviderInfo
OAuth provider info with a ServerUrl.
Definition
ServerUrlOAuthProviderInfo.cs:11
Tgstation.Server.Host.GraphQL.Types.OAuth.ServerUrlOAuthProviderInfo.ServerUrlOAuthProviderInfo
ServerUrlOAuthProviderInfo(OAuthProviderInfo providerInfo)
Initializes a new instance of the ServerUrlOAuthProviderInfo class.
Definition
ServerUrlOAuthProviderInfo.cs:21
Tgstation.Server.Host.GraphQL.Types.OAuth.ServerUrlOAuthProviderInfo.ServerUrl
Uri ServerUrl
The remote service URL.
Definition
ServerUrlOAuthProviderInfo.cs:15
Tgstation.Server.Api.Models
Definition
ChatChannel.cs:6
Tgstation.Server.Host.GraphQL.Types.OAuth
Definition
BasicOAuthProviderInfo.cs:6
Generated by
1.9.8