public AccountController(
     UserManager<ApplicationUser> userManager,
     SignInManager<ApplicationUser> signInManager,
     IOptions<GeneralSettings> generalSettings,
     IMediator mediator,
     IExternalUserInformationProviderFactory externalUserInformationProviderFactory,
     IRedirectAccountControllerRequests redirectAccountControllerRequests
     )
 {
     _userManager = userManager;
     _signInManager = signInManager;
     _generalSettings = generalSettings;
     _mediator = mediator;
     _externalUserInformationProviderFactory = externalUserInformationProviderFactory;
     _redirectAccountControllerRequests = redirectAccountControllerRequests;
 }
Exemple #2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IOptions <GeneralSettings> generalSettings,
     IMediator mediator,
     IExternalUserInformationProviderFactory externalUserInformationProviderFactory,
     IRedirectAccountControllerRequests redirectAccountControllerRequests
     )
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _generalSettings = generalSettings;
     _mediator        = mediator;
     _externalUserInformationProviderFactory = externalUserInformationProviderFactory;
     _redirectAccountControllerRequests      = redirectAccountControllerRequests;
 }
Exemple #3
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IOptions <GeneralSettings> generalSettings,
     IOptions <IdentityCookieOptions> identityCookieOptions,
     IMediator mediator,
     IExternalUserInformationProviderFactory externalUserInformationProviderFactory,
     IRedirectAccountControllerRequests redirectAccountControllerRequests
     )
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _generalSettings = generalSettings;
     _mediator        = mediator;
     _externalUserInformationProviderFactory = externalUserInformationProviderFactory;
     _redirectAccountControllerRequests      = redirectAccountControllerRequests;
     _externalCookieScheme = identityCookieOptions?.Value.ExternalCookieAuthenticationScheme;
 }