DigitalFactory/Admin.NET/Admin.NET.Core/Option/CryptogramOptions.cs

41 lines
1008 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 大名科技(天津)有限公司版权所有 电话18020030720 QQ515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
namespace Admin.NET.Core;
/// <summary>
/// 密码配置选项
/// </summary>
public sealed class CryptogramOptions : IConfigurableOptions
{
/// <summary>
/// 是否开启密码强度验证
/// </summary>
public bool StrongPassword { get; set; }
/// <summary>
/// 密码强度验证正则表达式
/// </summary>
public string PasswordStrengthValidation { get; set; }
/// <summary>
/// 密码强度验证提示
/// </summary>
public string PasswordStrengthValidationMsg { get; set; }
/// <summary>
/// 密码类型
/// </summary>
public string CryptoType { get; set; }
/// <summary>
/// 公钥
/// </summary>
public string PublicKey { get; set; }
/// <summary>
/// 私钥
/// </summary>
public string PrivateKey { get; set; }
}