code reorg

This commit is contained in:
Paul Schneider 2026-08-30 17:03:59 +01:00
commit 3a1ce55c0f
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
2 changed files with 4 additions and 4 deletions

View file

@ -18,11 +18,11 @@ public partial class AuthenticationSettings : ObservableObject
/// </summary>
public const string AndroidRedirectUri = "android://postit-signin";
public static string DefaultAuthority { get; internal set; } = "https://yavsc.pschneider.fr";
public const string DefaultAuthority = "https://yavsc.pschneider.fr";
public static string DefaultClientId { get; internal set; } = "postit";
public const string DefaultClientId = "postit";
public static string[] DefaultScopes { get; set; } = { "blogs"} ;
public static readonly string[] DefaultScopes = { "blogs" };
[ObservableProperty]
public partial string Authority { get; set; }

View file

@ -314,7 +314,7 @@ public partial class Settings : ViewModelBase
settings.Authentication.Scopes = AuthenticationSettings.DefaultScopes;
}
else
this.Authentication.Scopes = settings.Authentication.Scopes;
this.Authentication.Scopes = settings.Authentication.Scopes;
}
}
// A disk load (or an embedded-resource fallback) is the