예제 #1
0
 public Handler(ICratesDbContext context, ITokenProvider tokenProvider, IPasswordHasher passwordHasher, ITokenBuilder tokenBuilder)
 {
     _context        = context;
     _tokenProvider  = tokenProvider;
     _passwordHasher = passwordHasher;
     _tokenBuilder   = tokenBuilder;
 }
예제 #2
0
 public Handler(ICratesDbContext context)
 => _context = context;
예제 #3
0
 public Handler(ICratesDbContext context, IClock clock)
 {
     _context = context;
     _clock   = clock;
 }
예제 #4
0
 public Handler(ICratesDbContext context, ITokenProvider tokenProvider)
 {
     _context       = context;
     _tokenProvider = tokenProvider;
 }
예제 #5
0
 public Handler(ICratesDbContext context, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     _httpContextAccessor = httpContextAccessor;
 }