Beispiel #1
0
 public LoginService(ILoginRepository loginRepository, IJwtSecurityService jwtSecurityService)
 {
     _loginRepository    = loginRepository;
     _jwtSecurityService = jwtSecurityService;
 }
Beispiel #2
0
 public AuthController(UserManager <ApplicationUser> userManager, IJwtAuthenticationService service, IJwtSecurityService jwtService)//IJwtTokenManager jwtTokenManager,
 {
     this.userManager = userManager;
     this.authService = service;
     this.jwtService  = jwtService;
 }
Beispiel #3
0
 public JwtAuthenticationService(IUnitOfWork unitOfWork, IJwtSecurityService jwtSecurityService, ILogger <JwtAuthenticationService> logger)
 {
     this.unitOfWork         = unitOfWork;
     this.jwtSecurityService = jwtSecurityService;
     this.logger             = logger;
 }