public AuthenticationAPIMiddleware(RequestDelegate next, T autenticate, IApplicationBuilder app, IContainerBuilder container) { _next = next; _auth = autenticate; _container = container; _app = app; //_container.Services.AddJWTAuth(); }
//private UserManager<ServicesModel.Models.Auth.Auth> _manager; public AuthsController(ServicesContext context, IAutentication auth, IResponce responce, IAccount account) { _context = context; _auth = auth; _responce = responce; _account = account; // _manager = manager; }
public staffController(ServicesContext context, IResponce responce, IImageHandler imageHandler, IAutentication auth, IConfiguration configuration) { _context = context; _responce = responce; _imageHandler = imageHandler; _auth = auth; _configuration = configuration; }
public AutenticationController(IAutentication autentication) { _autentication = autentication; }
public AutentificationController(IAutentication autentication) { this._autentication = autentication; }