Ejemplo n.º 1
0
 public LoginModel(SignInManager <ApplicationUser> signInManager,
                   ILogger logger,
                   UserManager <ApplicationUser> userManager,
                   IAuthJwtService jwtService,
                   PetFinderContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _jwtService    = jwtService;
     _context       = context;
 }
Ejemplo n.º 2
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger logger,
     IEmailSender emailSender,
     RoleManager <IdentityRole> roleManager,
     IAuthJwtService jwtService)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
     _jwtService    = jwtService;
 }
 public AuthController(IAuthJwtService authService)
 {
     _authService = authService;
 }
Ejemplo n.º 4
0
 public AuthController(IAuthJwtService authJwtService)
 {
     this.authJwtService = authJwtService;
 }
Ejemplo n.º 5
0
 public AuthController(IAuthJwtService authService, IUsuarioService usuarioService, IMapper mapper)
 {
     _authService    = authService;
     _usuarioService = usuarioService;
     _mapper         = mapper;
 }