public ProjectController(SqlSugarClient _dbClient,
                          UserAuthBusiness _userAuthBusiness) : base(_dbClient)
 {
     dbClient         = _dbClient;
     userAuthBusiness = _userAuthBusiness;
     modelMapper      = new ModelMapper(dbClient);
 }
 public AdminPageRoleAuthenticationImp(IDistributedCache _distributedCache,
                                       UserAuthBusiness _userAccountBusiness,
                                       string[] _targetRoles)
 {
     distributedCache    = _distributedCache;
     userAccountBusiness = _userAccountBusiness;
     targetRoleList      = _targetRoles;
 }
 public APIRoleFilterImp(IDistributedCache _distributedCache,
                         UserAuthBusiness _userAccountBusiness,
                         string[] _targetRoles)
 {
     distributedCache    = _distributedCache;
     userAccountBusiness = _userAccountBusiness;
     targetRoleList      = _targetRoles;
 }
 public UserAuthController(SqlSugarClient _dbClient
                           , UserAuthBusiness _userAuthBusiness,
                           IConfiguration _configuration) : base(_dbClient)
 {
     dbClient         = _dbClient;
     userAuthBusiness = _userAuthBusiness;
     configuration    = _configuration;
     WxAppId          = _configuration["wx:appId"];
     WxAppSecret      = _configuration["wxsecret"];
 }
 public AccountController(IdentityConfig.ApplicationUserManager userManager, IdentityConfig.ApplicationSignInManager signInManager)
 {
     UserSignInManager = new UserAuthBusiness(userManager, signInManager);
 }
Exemple #6
0
 public UserAuthController(SqlSugarClient _dbClient, UserAuthBusiness _userAuthBusiness)
     : base(_dbClient)
 {
     userAuthBusiness = _userAuthBusiness;
 }
Exemple #7
0
 public APIAuthenticationWithoutDeniedFilter(IDistributedCache _distributedCache,
                                             UserAuthBusiness _userAccountBusiness)
 {
     distributedCache    = _distributedCache;
     userAccountBusiness = _userAccountBusiness;
 }