public AuthController(SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager, IOptions <AppJwtSettings> appJwtSettings) { _signInManager = signInManager; _userManager = userManager; _appJwtSettings = appJwtSettings.Value; }
public AuthCustomConfigAndKeyController(SignInManager <MyIntIdentityUser> signInManager, UserManager <MyIntIdentityUser> userManager, IOptions <AppJwtSettings> appJwtSettings) { _signInManager = signInManager; _userManager = userManager; _appJwtSettings = appJwtSettings.Value; }
public AutenticacaoService(SignInManager <UserIdentity> signInManager, UserManager <UserIdentity> userManager, IOptions <AppJwtSettings> appJwtSettings, INotificador notificator) { _signInManager = signInManager; _userManager = userManager; _notificator = notificator; _appJwtSettings = appJwtSettings.Value; _acessor = new HttpContextAccessor(); }
public AccountController(SignInManager <MyIdentityUser> signInManager, UserManager <MyIdentityUser> userManager, IEmailSender emailService, IOptions <AppJwtSettings> appJwtSettings) { _emailService = emailService; _signInManager = signInManager; _userManager = userManager; _appJwtSettings = appJwtSettings.Value; }
public AccountsController( SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IOptions <AppJwtSettings> appJwtSettings, IEmailSenderService emailSenderService) { _userManager = userManager; _signInManager = signInManager; _appJwtSettings = appJwtSettings.Value; _emailSenderService = emailSenderService; }
public UserService(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IMapper mapper, IOptions <AppJwtSettings> appJwtSettings, ITokenRefreshService tokenRefreshService) { _userManager = userManager; _signInManager = signInManager; _mapper = mapper; _tokenRefreshService = tokenRefreshService; _appJwtSettings = appJwtSettings.Value; }
public CustomJwtBuilder <TIdentityUser> WithJwtSettings(AppJwtSettings appJwtSettings) { _appJwtSettings = appJwtSettings ?? throw new ArgumentException(nameof(appJwtSettings)); return(this); }
public AuthUser(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, IOptions <AppJwtSettings> appJwtSettings) { _userManager = userManager; _signInManager = signInManager; _appJwtSettings = appJwtSettings.Value; }