示例#1
0
 protected LoginHandlerAbstract(IVerifyCodeProvider verifyCodeProvider, IConfigProvider configProvider, IAccountAuthInfoRepository authInfoRepository, ICacheHandler cacheHandler, ILoginLogHandler logHandler, ILogger logger)
 {
     _verifyCodeProvider = verifyCodeProvider;
     _configProvider     = configProvider;
     _authInfoRepository = authInfoRepository;
     _cacheHandler       = cacheHandler;
     _logHandler         = logHandler;
     _logger             = logger;
 }
 public UserNameLoginHandler(IVerifyCodeProvider verifyCodeProvider, IConfigProvider configProvider, IAccountAuthInfoRepository authInfoRepository, IAccountRepository repository, IPasswordHandler passwordHandler, ICacheHandler cacheHandler, ILoginLogHandler logHandler, ILogger <UserNameLoginHandler> logger) : base(verifyCodeProvider, configProvider, authInfoRepository, cacheHandler, logHandler, logger)
 {
     _repository      = repository;
     _passwordHandler = passwordHandler;
 }
示例#3
0
 public DefaultPhoneLoginHandler(IVerifyCodeProvider verifyCodeProvider, IConfigProvider configProvider, IAccountAuthInfoRepository authInfoRepository, IAccountRepository repository, ICacheHandler cacheHandler, ILoginLogHandler logHandler, ILogger <DefaultUserNameLoginHandler> logger, IPhoneVerifyCodeProvider phoneVerifyCodeProvider) : base(verifyCodeProvider, configProvider, authInfoRepository, cacheHandler, logHandler, logger)
 {
     _repository = repository;
     _phoneVerifyCodeProvider = phoneVerifyCodeProvider;
 }