1 type derived from SecurityStampValidator
Microsoft.AspNetCore.Identity (1)
TwoFactorSecurityStampValidator.cs (1)
16public class TwoFactorSecurityStampValidator<TUser> : SecurityStampValidator<TUser>, ITwoFactorSecurityStampValidator where TUser : class
5 instantiations of SecurityStampValidator
Microsoft.AspNetCore.Identity.Test (5)
SecurityStampValidatorTest.cs (5)
122services.AddSingleton<ISecurityStampValidator>(new SecurityStampValidator<PocoUser>(options.Object, signInManager.Object, new LoggerFactory())); 176services.AddSingleton<ISecurityStampValidator>(new SecurityStampValidator<PocoUser>(options.Object, signInManager, new LoggerFactory())); 217services.AddSingleton<ISecurityStampValidator>(new SecurityStampValidator<PocoUser>(options.Object, signInManager.Object, new LoggerFactory())); 255services.AddSingleton<ISecurityStampValidator>(new SecurityStampValidator<PocoUser>(options.Object, signInManager.Object, new LoggerFactory())); 293services.AddSingleton<ISecurityStampValidator>(new SecurityStampValidator<PocoUser>(options.Object, signInManager.Object, new LoggerFactory()));
8 references to SecurityStampValidator
Microsoft.AspNetCore.Identity (6)
IdentityBuilderExtensions.cs (1)
44builder.Services.AddScoped(typeof(ISecurityStampValidator), typeof(SecurityStampValidator<>).MakeGenericType(builder.UserType));
IdentityServiceCollectionExtensions.cs (1)
100services.TryAddScoped<ISecurityStampValidator, SecurityStampValidator<TUser>>();
SecurityStampValidator.cs (2)
20/// Creates a new instance of <see cref="SecurityStampValidator{TUser}"/>. 39/// Creates a new instance of <see cref="SecurityStampValidator{TUser}"/>.
TwoFactorSecurityStampValidator.cs (2)
19/// Creates a new instance of <see cref="SecurityStampValidator{TUser}"/>. 30/// Creates a new instance of <see cref="SecurityStampValidator{TUser}"/>.
Microsoft.AspNetCore.Identity.Test (2)
IdentityBuilderTest.cs (2)
213Assert.IsType<SecurityStampValidator<PocoUser>>(provider.GetRequiredService<ISecurityStampValidator>()); 233Assert.IsType<SecurityStampValidator<PocoUser>>(provider.GetRequiredService<ISecurityStampValidator>());