sync public allowlist from private myoffice

This commit is contained in:
myoffice-sync
2026-08-05 10:36:17 +00:00
parent 6f7fd61ee9
commit 874796c860
720 changed files with 2841 additions and 69563 deletions
@@ -1,24 +0,0 @@
using MyOffice.Web.Identity.Domain;
namespace MyOffice.Web.Identity;
using Core.Extensions;
public static class ExternalProvidersConfigExtensions
{
public static bool IsGoogleConfigured(this ExternalProvidersConfig? config)
{
return config != null
&& config.Google != null
&& config.Google.ClientId.IsPresent();
}
public static bool IsAuth0Configured(this ExternalProvidersConfig? config)
{
return config != null
&& config.Auth0 != null
&& config.Auth0.ClientId.IsPresent()
&& config.Auth0.Domain.IsPresent()
&& config.Auth0.SecretKey.IsPresent();
}
}