Nullify OAuthProviders

This commit is contained in:
Jordan Dominion
2023-11-25 16:05:02 -05:00
parent 302c458e74
commit d781370bc7
@@ -10,8 +10,6 @@ using Tgstation.Server.Common.Http;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.Utils.GitHub;
#nullable disable
namespace Tgstation.Server.Host.Security.OAuth
{
/// <inheritdoc />
@@ -82,7 +80,7 @@ namespace Tgstation.Server.Host.Security.OAuth
}
/// <inheritdoc />
public IOAuthValidator GetValidator(OAuthProvider oAuthProvider) => validators.FirstOrDefault(x => x.Provider == oAuthProvider);
public IOAuthValidator? GetValidator(OAuthProvider oAuthProvider) => validators.FirstOrDefault(x => x.Provider == oAuthProvider);
/// <inheritdoc />
public Dictionary<OAuthProvider, OAuthProviderInfo> ProviderInfos()