This commit is contained in:
parent
325e2f1ee9
commit
08e573d63c
17 changed files with 348 additions and 26 deletions
12
Configuration/AppAuthOptions.cs
Normal file
12
Configuration/AppAuthOptions.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace WorkTracker.Configuration;
|
||||
|
||||
public sealed class AppAuthOptions
|
||||
{
|
||||
public const string SectionName = "AppAuth";
|
||||
|
||||
public bool Enabled { get; init; } = false;
|
||||
|
||||
public string DefaultUsername { get; init; } = "Admin";
|
||||
|
||||
public string DefaultUserId { get; init; } = "ADMIN";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue