44 ArgumentNullException.ThrowIfNull(oAuthProviders);
48 TProviderInfo? TryBuild<TProviderInfo>(
OAuthProvider oAuthProvider, Func<OAuthProviderInfo, TProviderInfo> contructor)
51 if (dic.TryGetValue(oAuthProvider, out var providerInfo))
53 return contructor(providerInfo);
Basic OAuth provider info.
OAuth provider info with a RedirectOAuthProviderInfo.RedirectUri and ServerUrl.
Description of configured OAuth services.
OAuthProviderInfos(IOAuthProviders oAuthProviders)
Initializes a new instance of the OAuthProviderInfos class.
RedirectOAuthProviderInfo? TGForums
https://tgstation13.org.
FullOAuthProviderInfo? Keycloak
https://www.keycloak.org.
FullOAuthProviderInfo? InvisionCommunity
https://invisioncommunity.com.
BasicOAuthProviderInfo? Discord
https://discord.com.
RedirectOAuthProviderInfo? GitHub
https://github.com.
OAuth provider info with a RedirectUri.
Contains IOAuthValidators.
Dictionary< OAuthProvider, OAuthProviderInfo > ProviderInfos()
Gets a Dictionary<TKey, TValue> of the provider client IDs.
OAuthProvider
List of OAuth providers supported by TGS.