public UsersController(TestDBContext context, IAppUserService userService, IJwtAuthentication jwtAuthentication, IUnitOfWork unitOfWork) { _context = context; _userService = userService; _jwtAuthentication = jwtAuthentication; _unitOfWork = unitOfWork as UnitOfWork; }
public Admin(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration, IJwtAuthentication jwtAuth) { _userManager = userManager; _roleManager = roleManager; _configuration = configuration; _auth = jwtAuth; }
public ApiAuthentication(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration config, IJwtAuthentication jwtAuth) { _userManager = userManager; _roleManager = roleManager; _config = config; _jwtAuth = jwtAuth; }
public UserAuthentication(IMapper mapper, IJwtAuthentication authService, IRepository <User> userRepository, IRepository <Token> tokenRepository) { _mapper = mapper; _authService = authService; _userRepository = userRepository; _tokenRepository = tokenRepository; }
public UserService(UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, IJwtAuthentication jwtAuthentication, IEmailSender emailSender, IConfiguration configuration, IEmailConfirmationTokenRepository emailRepo, SignInManager <ApplicationUser> signInManager) { _emailRepo = emailRepo; _configuration = configuration; _emailSender = emailSender; _jwtAuthentication = jwtAuthentication; _roleManager = roleManager; _userManager = userManager; _signInManager = signInManager; }
public ChatHub(ILogger <ChatHub> logger, IJwtAuthentication jwtAuth, UserManager <ApplicationUser> userManager) { _logger = logger; _jwtAuth = jwtAuth; _userManager = userManager; //first god message if (messages.Count == 0) { messages.Add(new Message() { User = new ChatUser("Creator", "0", "https://upload.wikimedia.org/wikipedia/commons/7/7c/Cima_da_Conegliano%2C_God_the_Father.jpg", 24990000), Content = "Hello World" }); } }
public AuthenticationController(IJwtAuthentication jwtAuthentication) { _jwtAuthentication = jwtAuthentication; }
public AccountController(IJwtAuthentication jwtAuthentication, IUserService userService) { this.jwtAuthentication = jwtAuthentication; this.userService = userService; }
public AuthController(UserManager <ApplicationUser> userManager, IUserService userService, IJwtAuthentication jwtAuth) { _userService = userService; _userManager = userManager; _jwtAuth = jwtAuth; }