示例#1
0
        public ManageDataService(ITwoFactorAuthService twoFactorAuthService, IUserRepository userRepository, ILogger <ManageDataService> logger)
        {
            _twoFactorAuthService = twoFactorAuthService;
            _userRepository       = userRepository;

            _logger = logger;
        }
示例#2
0
 public ManageController(ITwoFactorAuthService twoFactorAuthService, IManageDataService manageDataService, IManageUserService manageUserService,
                         ICredentialsService credentialsService)
 {
     _twoFactorAuthService = twoFactorAuthService;
     _manageDataService    = manageDataService;
     _manageUserService    = manageUserService;
     _credentialsService   = credentialsService;
 }
示例#3
0
        public ManageController(ITwoFactorAuthService twoFactorAuthService, IManageDataService manageDataService, IManageUserService manageUserService,
                                IProfileImageService profileImageService)
        {
            _twoFactorAuthService = twoFactorAuthService;
            _manageDataService    = manageDataService;
            _manageUserService    = manageUserService;

            _profileImageService = profileImageService;
        }
        public AccountController(ILoginService loginService, IEmailConfirmationService emailConfirmationService,
                                 IAddUserService addUserService, ICredentialsService credentialsService, IAccountDataService accountDataService,
                                 ITwoFactorAuthService twoFactorAuthService, IOptionsSnapshot <IdentityUIEndpoints> identityUIEndpoints)
        {
            _loginService             = loginService;
            _emailConfirmationService = emailConfirmationService;
            _addUserService           = addUserService;
            _credentialsService       = credentialsService;
            _accountDataService       = accountDataService;
            _twoFactorAuthService     = twoFactorAuthService;

            _identityUIEndpoints = identityUIEndpoints.Value;
        }
        public TwoFactorAuthenticationDataService(UserManager <AppUserEntity> userManager, IBaseRepository <AppUserEntity> userRepository,
                                                  ITwoFactorAuthService twoFactorAuthService, IHttpContextAccessor httpContextAccessor, IOptions <IdentityUIEndpoints> options,
                                                  ILogger <TwoFactorAuthenticationDataService> logger)
        {
            _userManager    = userManager;
            _userRepository = userRepository;

            _twoFactorAuthService = twoFactorAuthService;
            _httpContextAccessor  = httpContextAccessor;

            _options = options.Value;

            _logger = logger;
        }
示例#6
0
        public TwoFactorAuthenticationDataService(
            UserManager <AppUserEntity> userManager,
            IBaseRepository <AppUserEntity> userRepository,
            ITwoFactorAuthService twoFactorAuthService,
            IIdentityUIUserInfoService identityUIUserInfoService,
            IOptions <IdentityUIEndpoints> options,
            ILogger <TwoFactorAuthenticationDataService> logger)
        {
            _userManager    = userManager;
            _userRepository = userRepository;

            _twoFactorAuthService      = twoFactorAuthService;
            _identityUIUserInfoService = identityUIUserInfoService;

            _options = options.Value;

            _logger = logger;
        }
 public AccountController(
     IRoutinizeAccountLogService accountLogService,
     IAccountService accountService,
     IChallengeService challengeService,
     IAssistantService assistantService,
     IEmailSenderService emailSenderService,
     ITwoFactorAuthService tfaService,
     IGoogleRecaptchaService recaptchaService
     )
 {
     _accountLogService  = accountLogService;
     _accountService     = accountService;
     _challengeService   = challengeService;
     _assistantService   = assistantService;
     _emailSenderService = emailSenderService;
     _tfaService         = tfaService;
     _recaptchaService   = recaptchaService;
 }
 public TwoFactorAuthenticationController(ITwoFactorAuthenticationDataService twoFactorAuthorizationDataService, ITwoFactorAuthService twoFactorAuthService)
 {
     _twoFactorAuthorizationDataService = twoFactorAuthorizationDataService;
     _twoFactorAuthService = twoFactorAuthService;
 }
 public LoginWithRecoveryCodeModel(ISignInService signInService, ITwoFactorAuthService twoFactorAuthService)
 {
     this._signInService = signInService;
     this._2faService    = twoFactorAuthService;
 }
示例#10
0
 public LoginWith2faModel(ITwoFactorAuthService twoFactorAuthService)
 {
     _2faService = twoFactorAuthService;
 }
 public TwoFactorAuthController(ITwoFactorAuthService twoFactorAuthService)
 {
     this.twoFactorAuthService = twoFactorAuthService;
 }