Refactor runtime bootstrap and ship control flows
This commit is contained in:
14
apps/backend/Auth/Simulation/AuthOptions.cs
Normal file
14
apps/backend/Auth/Simulation/AuthOptions.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace SpaceGame.Api.Auth.Simulation;
|
||||
|
||||
public sealed class AuthOptions
|
||||
{
|
||||
public string ConnectionString { get; set; } = string.Empty;
|
||||
public List<SeedUserOptions> DevSeedUsers { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class SeedUserOptions
|
||||
{
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public List<string> Roles { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user