Exemplo n.º 1
0
 public UsersController(IConfiguration configuration, IdeaPoolContext dbContext, JwtTokenHelper tokenHelper, ILogger <UsersController> logger)
 {
     this.configuration = configuration;
     this.dbContext     = dbContext;
     this.tokenHelper   = tokenHelper;
     this.logger        = logger;
 }
 public RefreshTokenCommandHandler(IdeaPoolContext dataContext, IUserService userService, ITokenService tokenService, IOptions <AppSettings> appSettings)
 {
     _dataContext  = dataContext;
     _userService  = userService;
     _tokenService = tokenService;
     _appSettings  = appSettings.Value;
 }
Exemplo n.º 3
0
 public SignUpUserCommandHandler(IdeaPoolContext dataContext, IUserService userService, IMediator mediator)
 {
     _dataContext = dataContext;
     _userService = userService;
     _mediator    = mediator;
 }
Exemplo n.º 4
0
 public ValuesController(IdeaPoolContext dataContext) : base(dataContext)
 {
 }
Exemplo n.º 5
0
 public GetUsersQueryHandler(IdeaPoolContext dataContext)
 => _dataContext = dataContext;
Exemplo n.º 6
0
 public IdeasController(IdeaPoolContext dbContext, JwtTokenHelper tokenHelper)
 {
     this.dbContext   = dbContext;
     this.tokenHelper = tokenHelper;
 }
Exemplo n.º 7
0
 public IdeasController(IdeaPoolContext context) : base(context)
     => _context = context;
Exemplo n.º 8
0
 public UsersController(IdeaPoolContext dataContext)
     : base(dataContext)
 {
 }
Exemplo n.º 9
0
 public AccessTokens(IdeaPoolContext dataContext)
     : base(dataContext)
 {
 }
Exemplo n.º 10
0
 public LoginUserCommandHandler(IdeaPoolContext dataContext, IUserService userService, ITokenService tokenService)
 {
     _dataContext  = dataContext;
     _userService  = userService;
     _tokenService = tokenService;
 }