public IdentityService(UserManager <ApplicationUser> userManager, IEmailService emailService, IOptions <ClientAppSettings> client, IOptions <JwtSecurityTokenSettings> jwt, RoleManager <IdentityRole> roleManager) { _userManager = userManager; _roleManager = roleManager; _emailService = emailService; _client = client.Value; _jwt = jwt.Value; }
public AuthController( UserManager <ApplicationUser> userManager, IOptions <JwtSecurityTokenSettings> jwt ) { this._userManager = userManager; this._jwt = jwt.Value; }
public AccountService(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IOptions <JwtSecurityTokenSettings> jwt, IEmailScheduler emailScheduler) { _userManager = userManager; _roleManager = roleManager; //_emailService = emailService; //_client = client.Value; _jwt = jwt.Value; _emailScheduler = emailScheduler; }
public LoginModel(SignInManager <ApplicationUser> signInManager, ILogger <LoginModel> logger, UserManager <ApplicationUser> userManager, IMediator mediator, IOptions <JwtSecurityTokenSettings> jwt, IToastNotification toastNotification ) { _userManager = userManager; _signInManager = signInManager; _logger = logger; _mediator = mediator; _jwt = jwt.Value; _toastNotification = toastNotification; }
public AuthController( UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration, IEmailService emailService, IOptions <ClientAppSettings> client, IOptions <JwtSecurityTokenSettings> jwt ) { this._userManager = userManager; this._roleManager = roleManager; this._configuration = configuration; this._emailService = emailService; this._client = client.Value; this._jwt = jwt.Value; }
public AuthService(UserManager <User> userManager, RoleManager <IdentityRole> roleManager, SecurityContext securityContext, IEmailService emailService, TokenValidationParameters tokenValidationParameters, IOptions <ClientAppSettings> client, IOptions <JwtSecurityTokenSettings> jwtSettings) { _userManager = userManager; _roleManager = roleManager; _securityContext = securityContext; _emailService = emailService; _tokenValidationParameters = tokenValidationParameters; _client = client.Value; _jwtSettings = jwtSettings.Value; }
public TokenService(UserManager <IdentityUser> signInManager, JwtSecurityTokenSettings jwt) { _signInManager = signInManager; this._jwt = jwt; }
public LoginController(UserManager <IdentityUser> signInManager, IOptions <JwtSecurityTokenSettings> jwt) { _signInManager = signInManager; this._jwt = jwt.Value; }