示例#1
0
 public JsonController(UserManager <IdentityUser> userManager, IdentityDbContext identityContext, MysticoContext mysticoContext, IConfiguration iConfiguration)
 {
     this.userManager     = userManager;
     this.identityContext = identityContext;
     this.mysticoContext  = mysticoContext;
     this.iConfiguration  = iConfiguration;
 }
示例#2
0
 public AccountController(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, IdentityDbContext identityContext, MysticoContext mysticoContext, IOptions <IdentityCookieOptions> identityCookieOptions)
 {
     this.userManager      = userManager;
     this.signInManager    = signInManager;
     this.identityContext  = identityContext;
     this.mysticoContext   = mysticoContext;
     _externalCookieScheme = identityCookieOptions.Value.ExternalCookieAuthenticationScheme;
 }
示例#3
0
 public SplitController(UserManager <IdentityUser> userManager, IdentityDbContext identityContext, MysticoContext mysticoContext)
 {
     this.userManager     = userManager;
     this.identityContext = identityContext;
     this.mysticoContext  = mysticoContext;
 }