Example #1
0
 public ForgotPasswordModel(
     UserManager <ApplicationUser> userManager,
     IEmailSender emailSender,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager = userManager;
     this.emailSender = emailSender;
     this.identityLocalizationService = identityLocalizationService;
 }
 public DownloadPersonalDataModel(
     UserManager <ApplicationUser> userManager,
     ILogger <DownloadPersonalDataModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager = userManager;
     this.logger      = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #3
0
 public Disable2faModel(
     UserManager <ApplicationUser> userManager,
     ILogger <Disable2faModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager = userManager;
     this.logger      = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #4
0
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #5
0
 public LoginWith2faModel(
     ILogger <LoginWith2faModel> logger,
     SignInManager <ApplicationUser> signInManager,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.logger        = logger;
     this.signInManager = signInManager;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #6
0
 public ConfirmEmailChangeModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #7
0
 public GenerateRecoveryCodesModel(
     UserManager <ApplicationUser> userManager,
     ILogger <GenerateRecoveryCodesModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager = userManager;
     this.logger      = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
 public EnableAuthenticatorModel(
     UserManager <ApplicationUser> userManager,
     ILogger <EnableAuthenticatorModel> logger,
     UrlEncoder urlEncoder,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager = userManager;
     this.logger      = logger;
     this.urlEncoder  = urlEncoder;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #9
0
 public DeletePersonalDataModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <DeletePersonalDataModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #10
0
 public EmailModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.emailSender   = emailSender;
     this.identityLocalizationService = identityLocalizationService;
 }
 public ChangePasswordModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <ChangePasswordModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
 public ResetAuthenticatorModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <ResetAuthenticatorModel> logger,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #13
0
 public ExternalLoginModel(
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     ILogger <ExternalLoginModel> logger,
     IEmailSender emailSender,
     IdentityLocalizationService identityLocalizationService
     )
 {
     this.signInManager = signInManager;
     this.userManager   = userManager;
     this.logger        = logger;
     this.emailSender   = emailSender;
     this.identityLocalizationService = identityLocalizationService;
 }
Example #14
0
 public LoginModel(
     ILogger <LoginModel> logger,
     IEventService eventService,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IIdentityServerInteractionService interaction,
     IdentityLocalizationService identityLocalizationService,
     IConfiguration config
     )
 {
     this.logger        = logger;
     this.eventService  = eventService;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.interaction   = interaction;
     this.identityLocalizationService = identityLocalizationService;
     this.config = config;
 }
 public ContactController(IdentityLocalizationService localizer)
 {
     _localizer = localizer;
 }
Example #16
0
 public static void Configure(IdentityLocalizationService httpContextAccessor)
 {
     _localizer = httpContextAccessor;
 }