public AuthController(IJwtAuthenticationManager authenticationManager, UserManager <User> userManager, SignInManager <User> signInManager, IConfiguration configuration) { _authenticationManager = authenticationManager; _userManager = userManager; _signInManager = signInManager; _config = configuration; }
public GetLoginQueryHandler( ILoginRepository loginRepository, IJwtAuthenticationManager jwtAuthenticationManager) { _loginRepository = loginRepository ?? throw new ArgumentNullException(nameof(loginRepository)); _jwtAuthenticationManager = jwtAuthenticationManager ?? throw new ArgumentNullException(nameof(jwtAuthenticationManager)); }
public AccountController(IJwtAuthenticationManager jwtManager, IUserRepository repo, IConfiguration configuration, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, SignInManager <ApplicationUser> signInManager) { _repo = repo; _jwtMananager = jwtManager; _configManager = configuration; _userManager = userManager; _signInManager = signInManager; }
public AuthController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration, IJwtAuthenticationManager JwtAuthenticationManager, SchoolManagementContext dbcontext) { this._JwtAuthenticationManager = JwtAuthenticationManager; this._dbcontext = dbcontext; this.userManager = userManager; this.roleManager = roleManager; _configuration = configuration; }
public AccountService(IMapper mapper, IJwtAuthenticationManager jwtAuthenticationManager, ILogger <AccountService> logger, IMailService mailService, IFraudClaimRepository fraudClaimRepository, IRepositoryFactory repositoryFactory) { _mapper = mapper; _jwtAuthenticationManager = jwtAuthenticationManager; _logger = logger; _mailService = mailService; _fraudClaimRepository = fraudClaimRepository; _repositoryFactory = repositoryFactory; }
public JwtAuthenticationManagerTests() { _repository = new Repository <ApplicationUser>(Context); _options = Options.Create(new AppSettings { SecretEncryptionKey = "supersecret123testing456key", EmailFrom = "*****@*****.**", SmtpHost = "*****@*****.**", SmtpPort = 111, SmtpUser = "******", SmtpPass = "******" }); _emailService = new EmailService(_options); _jwtAuthenticationManager = new JwtAuthenticationManager(Context, _options, _repository, _emailService); }
public UserController(UserRepository repository, IJwtAuthenticationManager jwtAuthenticationManager, IMapper mapper, /*UserManager userManager, * SignInManager signInManager,*/ IOptions <AppSettings> appSettings) { this._jwtAuthenticationManager = jwtAuthenticationManager; this._repo = repository; this._mapper = mapper; //this._userManager = userManager; //this._signInManager = signInManager; this._appSettings = appSettings.Value; }
public UnitOfWork(ICustomerRepository CustomerRepository, IManagerRepository ManagerRepository, IMapper Mapper, IMailService MailService, IRepositoryHelper RepositoryHelper, IServiceRepository ServiceRepository, IEmployeeRepository EmployeeRepository, ILaundryRepository LaundryRepository, IInvoiceRepository InvoiceRepository, IJwtAuthenticationManager JwtAuthenticationManager, IDashboardRepo DashboardRepo) { this.CustomerRepository = CustomerRepository; this.EmployeeRepository = EmployeeRepository; this.ManagerRepository = ManagerRepository; this.MailService = MailService; this.Mapper = Mapper; this.InvoiceRepository = InvoiceRepository; this.ServiceRepository = ServiceRepository; this.InvoiceRepository = InvoiceRepository; this.JwtAuthenticationManager = JwtAuthenticationManager; this.LaundryRepository = LaundryRepository; this.DashboardRepo = DashboardRepo; }
public UserController(IJwtAuthenticationManager JwtAuthenticationManager) { this.JwtAuthenticationManager = JwtAuthenticationManager; }
public Token(IJwtAuthenticationManager authenticationManager) { this.authenticationManager = authenticationManager; }
public TokenManager(IJwtAuthenticationManager jwtAuthenticationManager) { this.jwtAuthenticationManager = jwtAuthenticationManager; }
public NameController(IJwtAuthenticationManager jWTAuthenticationManager, ITokenRefresher tokenRefresher) { this.jWTAuthenticationManager = jWTAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public LoginController(ILoginManagement loginManagement, IJwtAuthenticationManager jwtAuthenticationManager) { _loginManagement = loginManagement; _jwtAuthenticationManager = jwtAuthenticationManager; }
public AuthBusiness(InveonContext _inveonContext, IJwtAuthenticationManager _jwtAuthenticationManager) { inveonContext = _inveonContext; jwtAuthenticationManager = _jwtAuthenticationManager; }
public BaseController(Dal.DataAccess.FileHosterRepoContext context, IJwtAuthenticationManager authenticationManager) { this.context = context; this.authenticationManager = authenticationManager; token = new Token(authenticationManager); }
public AuthenticationController(Context context, IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher) { _db = context; this.jwtAuthenticationManager = jwtAuthenticationManager; this.tokenRefresher = tokenRefresher; }
public ToDoListController(IJwtAuthenticationManager jwtAuthenticationManager, IToDoListServices services) { this.jwtAuthenticationManager = jwtAuthenticationManager; _services = services; }
public UserController(DataCtx dataContx, IJwtAuthenticationManager ajwtAuthenticationManage) { this.dataContx = dataContx; this.jwtAuthenticationManager = ajwtAuthenticationManage; }
public TokenController(IJwtAuthenticationManager jwtAuthenticationManager, ITokenRefresher tokenRefresher, IUserService userService) { this.jwtAuthenticationManager = jwtAuthenticationManager; this.tokenRefresher = tokenRefresher; this.userService = userService; }
public SessionController(IJwtAuthenticationManager jwtAuthenticationManager) { this.jwtAuthenticationManager = jwtAuthenticationManager; }
public TokenRefresher(byte[] refreshKey, IJwtAuthenticationManager jwtAuthenticationManager) { this.refreshKey = refreshKey; this.jwtAuthenticationManager = jwtAuthenticationManager; }
public ProfilingController(IJwtAuthenticationManager jwtAuthenticationManager, ProfilingRepository profilingRepository) : base(profilingRepository) { this.profilingRepository = profilingRepository; this.jwtAuthenticationManager = jwtAuthenticationManager; }
public AuthController(IJwtAuthenticationManager jwtAuthenticationManager, ApplicationDbContext context) { this.jwtAuthenticationManager = jwtAuthenticationManager; this._context = context; }
public AuthController(IJwtAuthenticationManager jwtAuthManager) { _jwtAuthManager = jwtAuthManager; }
public TokenRefresher(string key, IJwtAuthenticationManager jwtAuthenticationManager) { _key = key; _jwtAuthenticationManager = jwtAuthenticationManager; }
/// <summary> /// Construtor /// </summary> /// <param name="jWtAuthenticationManager">Gestor de autenticação</param> public SecurityController(IJwtAuthenticationManager jWtAuthenticationManager) { _jWtAuthenticationManager = jWtAuthenticationManager; }
public NameController(IJwtAuthenticationManager jwtAuthenticationManager) { this.jwtAuthenticationManager = jwtAuthenticationManager; }
public LoginController(IJwtAuthenticationManager authManager, IRestService restService, ILogger <LoginController> logger) { _authManager = authManager; _restService = restService; _logger = logger; }
public NameController(IJwtAuthenticationManager jwtAuthenticationManager, DatabaseContext DBContext) { this.jwtAuthenticationManager = jwtAuthenticationManager; this.DBContext = DBContext; }
public UserController(Dal.DataAccess.FileHosterRepoContext context, IJwtAuthenticationManager authenticationManager) : base(context, authenticationManager) { }