tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
GraphQL
Types
OAuth
RedirectOAuthProviderInfo.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
class
RedirectOAuthProviderInfo
:
BasicOAuthProviderInfo
11
{
15
public
Uri
RedirectUri
{
get
; }
16
21
public
RedirectOAuthProviderInfo
(
OAuthProviderInfo
providerInfo)
22
: base(providerInfo)
23
{
24
RedirectUri
= providerInfo!.
RedirectUri
??
throw
new
InvalidOperationException(
"RedirectUri 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.RedirectUri
Uri? RedirectUri
The redirect URL.
Definition
OAuthProviderInfo.cs:18
Tgstation.Server.Host.GraphQL.Types.OAuth.BasicOAuthProviderInfo
Basic OAuth provider info.
Definition
BasicOAuthProviderInfo.cs:11
Tgstation.Server.Host.GraphQL.Types.OAuth.RedirectOAuthProviderInfo
OAuth provider info with a RedirectUri.
Definition
RedirectOAuthProviderInfo.cs:11
Tgstation.Server.Host.GraphQL.Types.OAuth.RedirectOAuthProviderInfo.RedirectUri
Uri RedirectUri
The authentication server URL.
Definition
RedirectOAuthProviderInfo.cs:15
Tgstation.Server.Host.GraphQL.Types.OAuth.RedirectOAuthProviderInfo.RedirectOAuthProviderInfo
RedirectOAuthProviderInfo(OAuthProviderInfo providerInfo)
Initializes a new instance of the RedirectOAuthProviderInfo class.
Definition
RedirectOAuthProviderInfo.cs:21
Tgstation.Server.Api.Models
Definition
ChatChannel.cs:6
Tgstation.Server.Host.GraphQL.Types.OAuth
Definition
BasicOAuthProviderInfo.cs:6
Generated by
1.9.8