Exemplo n.º 1
0
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     IMultiFactorUserStore <ApplicationUser, ApplicationFactor> multiFactorUserStore,
     ILogger <LoginModel> logger)
 {
     _multiFactorUserStore = multiFactorUserStore;
     _userManager          = userManager;
     _logger = logger;
 }
Exemplo n.º 2
0
 public UnitTestMultiFactorStore(
     IUserStore <TUser> userStore,
     IMultiFactorUserStore <TUser, TFactor> multiFactorUserStore,
     INeo4jTest neo4jtest)
 {
     _userStore            = userStore;
     _multiFactorUserStore = multiFactorUserStore;
     _neo4jtest            = neo4jtest;
 }
Exemplo n.º 3
0
 public LoginStepOneModel(
     IIdentityServerInteractionService interaction,
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     IMultiFactorUserStore <ApplicationUser, ApplicationFactor> multiFactorUserStore,
     ILogger <LoginModel> logger)
 {
     _interaction          = interaction;
     _signInManager        = signInManager;
     _userManager          = userManager;
     _multiFactorUserStore = multiFactorUserStore;
     _logger = logger;
 }
 public LoginModel(
     IDetection detection,
     IIdentityServerInteractionService interaction,
     SignInManager <ApplicationUser> signInManager,
     IMultiFactorUserStore <ApplicationUser, ApplicationFactor> multiFactorUserStore,
     ILogger <LoginModel> logger)
 {
     Detection             = detection;
     _multiFactorUserStore = multiFactorUserStore;
     _interaction          = interaction;
     _signInManager        = signInManager;
     _logger = logger;
 }