Пример #1
0
 public UsersController(SignInManager <IdentityUser> signInManager,
                        UserManager <IdentityUser> userManager,
                        IOptions <ApiUserClaimsSettings> appSettings,
                        IApiUser user, ILogger <UsersController> logger)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _logger        = logger;
     _appSettings   = appSettings.Value;
 }
Пример #2
0
 public AuthController(IApiNotification notificador,
                       SignInManager <IdentityUser> signInManager,
                       UserManager <IdentityUser> userManager,
                       IOptions <ApiUserClaimsSettings> appSettings,
                       IApiUser user, ILogger <AuthController> logger) : base(notificador, user)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _logger        = logger;
     _appSettings   = appSettings.Value;
 }