Cleaned up pagination in user and apikey controller. Extracted login start and start url generation to modular IOAuth2Provider interface. Improved login and register local oauth2 page
This commit is contained in:
@@ -2,7 +2,5 @@ namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class LoginStartResponse
|
||||
{
|
||||
public string ClientId { get; set; }
|
||||
public string Endpoint { get; set; }
|
||||
public string RedirectUri { get; set; }
|
||||
public string Url { get; set; }
|
||||
}
|
||||
@@ -2,16 +2,6 @@ namespace Moonlight.Shared.Misc;
|
||||
|
||||
public class FrontendConfiguration
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string ApiUrl { get; set; }
|
||||
public string HostEnvironment { get; set; }
|
||||
public ThemeData Theme { get; set; } = new();
|
||||
public string[] Scripts { get; set; }
|
||||
public string[] Styles { get; set; }
|
||||
public string[] Assemblies { get; set; }
|
||||
|
||||
public class ThemeData
|
||||
{
|
||||
public Dictionary<string, string> Variables { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user