public Handler(DataContext dataContext, UserManager <AppUser> userManager, IAuthCookies authCookies, IRefreshTokenGenerator refreshTokenGenerator, IDistributedCache cache) { this.dataContext = dataContext; this.userManager = userManager; this.authCookies = authCookies; this.refreshTokenGenerator = refreshTokenGenerator; this.cache = cache; }
public Handler(DataContext dataContext, IHttpContextAccessor contextAccessor, ITokenGenerator jwtGenerator, ICurrentUser currentUser, ITokenGenerator tokenGenerator, IDistributedCache cache, IAuthCookies cookies) { this.dataContext = dataContext; this.contextAccessor = contextAccessor; this.jwtGenerator = jwtGenerator; this.currentUser = currentUser; this.tokenGenerator = tokenGenerator; this.cache = cache; this.cookies = cookies; }
public Handler(DataContext dataContext, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IHttpContextAccessor contextAccessor, ITokenGenerator jwtGenerator, IRefreshTokenGenerator refreshTokenGenerator, IAuthCookies authCookies, IDistributedCache cache) { this.dataContext = dataContext; this.userManager = userManager; this.signInManager = signInManager; this.contextAccessor = contextAccessor; this.jwtGenerator = jwtGenerator; this.refreshTokenGenerator = refreshTokenGenerator; this.authCookies = authCookies; this.cache = cache; }
public Handler(IAuthCookies authCookies, IHttpContextAccessor contextAccessor, IDistributedCache cache) { this.authCookies = authCookies; this.contextAccessor = contextAccessor; this.cache = cache; }