using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Rbac.Domain.Shared.Options
{
public class RbacOptions
{
///
/// 超级管理员默认密码
///
public string AdminPassword { get; set; } = "123456";
///
/// 租户超级管理员默认密码
///
public string TenantAdminPassword { get; set; } = "123456";
///
/// 是否开启登录验证码
///
public bool EnableCaptcha { get; set; } = false;
///
/// 验证类型
///
public CaptchaTypeEnum CaptchaType { get; set; } = CaptchaTypeEnum.Phone;
///
/// 是否开启用户注册功能
///
public bool EnableRegister { get; set; } = false;
///
/// 是否开启数据库备份
///
public bool EnableDataBaseBackup { get; set; } = false;
}
///
/// 验证类型
///
public enum CaptchaTypeEnum
{
///
/// 手机号
///
Phone = 0,
///
/// 邮箱
///
Email = 1,
}
}