18 lines
663 B
C#
18 lines
663 B
C#
namespace EnvelopeGenerator.Application.Configurations
|
|
{
|
|
public class CodeGeneratorParams
|
|
{
|
|
public string CharPool { get; init; } = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567890123456789012345678901234567890123456789";
|
|
|
|
public int DefaultTotpSecretKeyLength { get; init; } = 32;
|
|
|
|
public string TotpIssuer { get; init; } = "signFlow";
|
|
|
|
/// <summary>
|
|
/// 0 is user email, 1 is secret key and 2 is issuer.
|
|
/// </summary>
|
|
public string TotpUrlFormat { get; init; } = "otpauth://totp/{0}?secret={1}&issuer={2}";
|
|
|
|
public int TotpQRPixelsPerModule { get; init; } = 20;
|
|
}
|
|
} |