public ExternalAgentLoginsModel( IAgentTracker agentTracker, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager) { _agentTracker = agentTracker; _userManager = userManager; _signInManager = signInManager; }
public LoginModel( IAgentTracker agentTracker, IIdentityServerInteractionService interaction, SignInManager <ApplicationUser> signInManager, ILogger <LoginModel> logger) { _agentTracker = agentTracker; _interaction = interaction; _signInManager = signInManager; _logger = logger; }
public AppClaimsPrincipalFactory( IAgentTracker agentTracker, IChallengeQuestionsTracker challengeQuestionsTracker, IHttpContextAccessor httpContextAccessor, UserManager <TUser> userManager, RoleManager <TRole> roleManager, IOptions <IdentityOptions> optionsAccessor ) : base(userManager, roleManager, optionsAccessor) { _agentTracker = agentTracker; _challengeQuestionsTracker = challengeQuestionsTracker; _httpContextAccessor = httpContextAccessor; }
/// <summary> /// Creates a new instance of <see cref="RewriteMiddleware"/> /// </summary> /// <param name="next">The delegate representing the next middleware in the request pipeline.</param> /// <param name="hostingEnvironment">The Hosting Environment.</param> /// <param name="loggerFactory">The Logger Factory.</param> /// <param name="options">The middleware options, containing the rules to apply.</param> public PageAuthMiddleware( RequestDelegate next, IHostingEnvironment hostingEnvironment, ILoggerFactory loggerFactory, IAgentTracker agentTracker) { if (next == null) { throw new ArgumentNullException(nameof(next)); } _agentTracker = agentTracker; _next = next; _logger = loggerFactory.CreateLogger <RewriteMiddleware>(); }