1 instantiation of TwoFactorSecurityStampValidator
Microsoft.AspNetCore.Identity.Test (1)
SecurityStampValidatorTest.cs (1)
342services.AddSingleton<ITwoFactorSecurityStampValidator>(new TwoFactorSecurityStampValidator<PocoUser>(options.Object, signInManager.Object, new LoggerFactory()));
4 references to TwoFactorSecurityStampValidator
Microsoft.AspNetCore.Identity (2)
IdentityBuilderExtensions.cs (1)
45builder.Services.AddScoped(typeof(ITwoFactorSecurityStampValidator), typeof(TwoFactorSecurityStampValidator<>).MakeGenericType(builder.UserType));
IdentityServiceCollectionExtensions.cs (1)
102services.TryAddScoped<ITwoFactorSecurityStampValidator, TwoFactorSecurityStampValidator<TUser>>();
Microsoft.AspNetCore.Identity.Test (2)
IdentityBuilderTest.cs (2)
214Assert.IsType<TwoFactorSecurityStampValidator<PocoUser>>(provider.GetRequiredService<ITwoFactorSecurityStampValidator>()); 234Assert.IsType<TwoFactorSecurityStampValidator<PocoUser>>(provider.GetRequiredService<ITwoFactorSecurityStampValidator>());