public SecurityStampValidator(
     ISignInFactory signInFactory,
     IClaimsPrincipalFactory claimsPrincipalFactory,
     ISignInManager signInManager,
     ISystemClock clock,
     IOptions <SignInManagerOptions> optionsAccessor)
 {
     _signInFactory          = signInFactory;
     _claimsPrincipalFactory = claimsPrincipalFactory;
     _signInManager          = signInManager;
     _clock   = clock;
     _options = optionsAccessor.Value;
 }
Example #2
0
 public SignInManager(
     IHttpContextAccessor contextAccessor,
     IPasswordHasher passwordHasher,
     IClaimsPrincipalFactory claimsPrincipalFactory,
     ITokenProviderManager tokenProviderManager,
     IAuthenticationSchemeProvider authenticationSchemeProvider,
     IOptions <SignInManagerOptions> optionsAccessor)
 {
     _contextAccessor              = contextAccessor;
     _passwordHasher               = passwordHasher;
     _claimsPrincipalFactory       = claimsPrincipalFactory;
     _tokenProviderManager         = tokenProviderManager;
     _authenticationSchemeProvider = authenticationSchemeProvider;
     _options = optionsAccessor.Value;
 }
 public ClaimsPrincipalFactory(IOptions <SignInManagerOptions> optionsAccessor)
 {
     _options = optionsAccessor.Value;
 }