public AuthenticationHandler(IOptionsMonitor <AuthenticationSchemeOptions> options,
                              ILoggerFactory logger,
                              UrlEncoder encoder,
                              ISystemClock clock,
                              WorkshopManager_DBContext context)
     : base(options, logger, encoder, clock)
 {
     _context = context;
 }
Exemplo n.º 2
0
 public RolesController(WorkshopManager_DBContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 public ClientsController(WorkshopManager_DBContext context)
 {
     _context = context;
 }
 public UsersController(WorkshopManager_DBContext context, IOptions <JWTSettings> jwtsettings)
 {
     _context     = context;
     _jwtsettings = jwtsettings.Value;
     _crypto      = new Crypto();
 }