Recreated solution with web app template. Improved theme. Switched to ShadcnBlazor library
This commit is contained in:
10
Moonlight.Api/Configuration/DatabaseOptions.cs
Normal file
10
Moonlight.Api/Configuration/DatabaseOptions.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Moonlight.Api.Configuration;
|
||||
|
||||
public class DatabaseOptions
|
||||
{
|
||||
public string Host { get; set; }
|
||||
public int Port { get; set; } = 5432;
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Database { get; set; }
|
||||
}
|
||||
11
Moonlight.Api/Configuration/OidcOptions.cs
Normal file
11
Moonlight.Api/Configuration/OidcOptions.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Moonlight.Api.Configuration;
|
||||
|
||||
public class OidcOptions
|
||||
{
|
||||
public string Authority { get; set; }
|
||||
public bool RequireHttpsMetadata { get; set; } = true;
|
||||
public string ResponseType { get; set; } = "code";
|
||||
public string[]? Scopes { get; set; }
|
||||
public string ClientId { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user