13 lines
402 B
C#
13 lines
402 B
C#
namespace MxGateway.Server.Configuration;
|
|
|
|
public sealed class AuthenticationOptions
|
|
{
|
|
public AuthenticationMode Mode { get; init; } = AuthenticationMode.ApiKey;
|
|
|
|
public string SqlitePath { get; init; } = @"C:\ProgramData\MxGateway\gateway-auth.db";
|
|
|
|
public string PepperSecretName { get; init; } = "MxGateway:ApiKeyPepper";
|
|
|
|
public bool RunMigrationsOnStartup { get; init; } = true;
|
|
}
|