code reorg
This commit is contained in:
parent
bd94a707b6
commit
3a1ce55c0f
2 changed files with 4 additions and 4 deletions
|
|
@ -18,11 +18,11 @@ public partial class AuthenticationSettings : ObservableObject
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string AndroidRedirectUri = "android://postit-signin";
|
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]
|
[ObservableProperty]
|
||||||
public partial string Authority { get; set; }
|
public partial string Authority { get; set; }
|
||||||
|
|
@ -314,7 +314,7 @@ public partial class Settings : ViewModelBase
|
||||||
settings.Authentication.Scopes = AuthenticationSettings.DefaultScopes;
|
settings.Authentication.Scopes = AuthenticationSettings.DefaultScopes;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.Authentication.Scopes = settings.Authentication.Scopes;
|
this.Authentication.Scopes = settings.Authentication.Scopes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// A disk load (or an embedded-resource fallback) is the
|
// A disk load (or an embedded-resource fallback) is the
|
||||||
Loading…
Add table
Add a link
Reference in a new issue