about to test remote access

This commit is contained in:
Paul Schneider 2026-04-19 16:02:50 +01:00
commit d21337d4a6
8 changed files with 86 additions and 81 deletions

View file

@ -9,8 +9,24 @@ namespace Yavsc;
public static class Config
{
/// <summary>
/// Authority URL for IdentityServer, used for authentication and authorization.
/// </summary>
public static string Authority { get; set; }
public static string AuthorityDomain
{
get
{
if (Uri.TryCreate(Authority, UriKind.Absolute, out var uri))
{
return uri.GetLeftPart(UriPartial.Authority);
}
throw new InvalidOperationException("Invalid Authority URL");
}
}
public static IConfigurationRoot? GoogleWebClientConfiguration { get; set; }
public static GoogleServiceAccount? GServiceAccount { get; set; }