public Handler(DataContext context, IEmailSenderService sender, IJwtGeneratorService jwtGenerator, IConfiguration configuration)
 {
     _sender        = sender;
     _jwtGenerator  = jwtGenerator;
     _configuration = configuration;
     _context       = context;
 }
 public IdentityService(
     UserManager <ApplicationUser> userManager,
     IJwtGeneratorService jwtGenerator)
 {
     this.userManager  = userManager;
     this.jwtGenerator = jwtGenerator;
 }
Beispiel #3
0
 public IdentityRepository(
     UserManager <AppUser> userManager,
     IJwtGeneratorService jwtGenerator)
 {
     this.userManager  = userManager;
     this.jwtGenerator = jwtGenerator;
 }
Beispiel #4
0
 public IdentityService(
     UserManager <BlazorShopUser> userManager,
     IJwtGeneratorService jwtGenerator)
 {
     this.userManager  = userManager;
     this.jwtGenerator = jwtGenerator;
 }
 public UsersController(IJwtGeneratorService jwtGeneratorService, SignInManager <User> signInManager, IMapper mapper, UserManager <User> userManager)
 {
     _jwtGeneratorService = jwtGeneratorService;
     _signInManager       = signInManager;
     _mapper      = mapper;
     _userManager = userManager;
 }
 public AccountController(IMapper mapper,
                          UserManager <User> userManager, SignInManager <User> signInManager, IOptions <JwtSettings> jwtSettings, IJwtGeneratorService jwtGeneratorService)
 {
     _mapper              = mapper;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _jwtGeneratorService = jwtGeneratorService;
     _jwtSettings         = jwtSettings.Value;
 }
Beispiel #7
0
 public AuthService(
     UserManager <User> userManager,
     IMapper mapper,
     IJwtGeneratorService jwtGenerator)
 {
     this.userManager  = userManager;
     this.jwtGenerator = jwtGenerator;
     this.mapper       = mapper;
 }
 public IdentityService(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IJwtGeneratorService jwtGeneratorService,
     IBus publisher,
     IMessageService messageService)
 {
     this.userManager         = userManager;
     this.signInManager       = signInManager;
     this.jwtGeneratorService = jwtGeneratorService;
     this.publisher           = publisher;
     this.messageService      = messageService;
 }
Beispiel #9
0
 public LoginSystemUserQueryHandler(IBugLogDbContext context, IPasswordGenerationService passwordService, IJwtGeneratorService jwtService)
 {
     _context         = context;
     _passwordService = passwordService;
     _jwtService      = jwtService;
 }
Beispiel #10
0
 public Handler(DataContext context, IJwtGeneratorService jwtGenerator)
 {
     _jwtGenerator = jwtGenerator;
     _context      = context;
 }