コード例 #1
0
 public UserAuthUseCaseAsync(
     ITokenGenerate tokenGenerate,
     IUserAuthRepository userAuthRepository,
     IConfiguration configuration)
 {
     _tokenGenerate      = tokenGenerate;
     _userAuthRepository = userAuthRepository;
     _configuration      = configuration;
 }
コード例 #2
0
 public UserAuthRefreshTokenUseCaseAsync(
     ITokenGenerate tokenGenerate,
     IUnitOfWork unitOfWork,
     IConfiguration configuration)
 {
     _tokenGenerate = tokenGenerate;
     _unitOfWork    = unitOfWork;
     _configuration = configuration;
 }
コード例 #3
0
 public CaptchaManager(
     ICaptchaValidatorFactory validatorFactory,
     IValidateHandlerFactory validateHandlerFactory,
     ITokenGenerate token,
     ICaptchaFactory captchaFactory
     )
 {
     _validatorFactory       = validatorFactory;
     _validateHandlerFactory = validateHandlerFactory;
     _token   = token;
     _factory = captchaFactory;
 }
コード例 #4
0
 public UserService(DataBaseContext context, ITokenGenerate tokenService)
 {
     _context      = context;
     _tokenService = tokenService;
 }
コード例 #5
0
 public UserController(ITokenGenerate tokenGenerate)
 {
     _tokenGenerate = tokenGenerate;
 }