Пример #1
0
 public UserService(
     IUnitOfWorkAuthentication unitOfWork,
     IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
Пример #2
0
 public BasicAuthenticationHandler(
     IOptionsMonitor <AuthenticationSchemeOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IUnitOfWorkAuthentication unitOfWork)
     : base(options, logger, encoder, clock)
 {
     _unitOfWork = unitOfWork;
 }
Пример #3
0
 public LoginService(
     IUnitOfWorkAuthentication unitOfWork,
     IUserService userService,
     IMapper mapper
     )
 {
     _unitOfWork  = unitOfWork;
     _userService = userService;
     _mapper      = mapper;
 }