public Handler(ICratesDbContext context, ITokenProvider tokenProvider, IPasswordHasher passwordHasher, ITokenBuilder tokenBuilder) { _context = context; _tokenProvider = tokenProvider; _passwordHasher = passwordHasher; _tokenBuilder = tokenBuilder; }
public Handler(ICratesDbContext context) => _context = context;
public Handler(ICratesDbContext context, IClock clock) { _context = context; _clock = clock; }
public Handler(ICratesDbContext context, ITokenProvider tokenProvider) { _context = context; _tokenProvider = tokenProvider; }
public Handler(ICratesDbContext context, IHttpContextAccessor httpContextAccessor) { _context = context; _httpContextAccessor = httpContextAccessor; }