public CustomAuthorizeResponseGenerator(ILogger <AuthorizeResponseGenerator> logger, ITokenService tokenService, IAuthorizationCodeStore authorizationCodeStore, IEventService events, IAuthUtils authUtils, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor, SignInManager <ApplicationUser> signinManager)
 {
     _defaultGenerator    = new AuthorizeResponseGenerator(logger, tokenService, authorizationCodeStore, events);
     _authUtils           = authUtils;
     _userManager         = userManager;
     _httpContextAccessor = httpContextAccessor;
     _signinManager       = signinManager;
 }
Ejemplo n.º 2
0
 public UserService(ApplicationDbContext dbContext, IAuthUtils authUtils)
 {
     this.dbContext = dbContext ?? throw new ArgumentNullException("dbContext");
     this.authUtils = authUtils ?? throw new ArgumentNullException("authUtils");
 }