tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
FullOAuthProviderInfo.cs
Go to the documentation of this file.
1using System;
2
4
6{
11 {
15 public Uri ServerUrl { get; }
16
22 : base(providerInfo)
23 {
24 ArgumentNullException.ThrowIfNull(providerInfo);
25
26 ServerUrl = providerInfo.ServerUrl ?? throw new InvalidOperationException("Missing OAuthProviderInfo ServerUrl!");
27 }
28 }
29}
Public information about a given OAuthProvider.
OAuth provider info with a RedirectOAuthProviderInfo.RedirectUri and ServerUrl.
FullOAuthProviderInfo(OAuthProviderInfo providerInfo)
Initializes a new instance of the FullOAuthProviderInfo class.