Exemplo n.º 1
0
 public AccountController(ISystemUserRepo systemUserRepo, ILoginUserProvider loginUserProvider)
 {
     _systemUserRepo    = systemUserRepo;
     _loginUserProvider = loginUserProvider;
 }
Exemplo n.º 2
0
 public SystemController(ISystemUserRepo systemUserRepo)
 {
     _systemUserRepo = systemUserRepo;
 }
 public LoginUserProvider(IHttpContextAccessor httpContextAccessor, ISystemUserRepo systemUserRepo, IOptions <JwtBearerConfig> jwtBearerConfig)
 {
     _systemUserRepo  = systemUserRepo;
     _httpContext     = httpContextAccessor.HttpContext;
     _jwtBearerConfig = jwtBearerConfig.Value;
 }