12 references to SecurityStampValidator
Microsoft.AspNetCore.Identity (4)
IdentityCookiesBuilderExtensions.cs (2)
54
OnValidatePrincipal =
SecurityStampValidator
.ValidatePrincipalAsync
87
OnValidatePrincipal =
SecurityStampValidator
.ValidateAsync<ITwoFactorSecurityStampValidator>
IdentityServiceCollectionExtensions.cs (2)
64
OnValidatePrincipal =
SecurityStampValidator
.ValidatePrincipalAsync
77
OnValidatePrincipal =
SecurityStampValidator
.ValidateAsync<ITwoFactorSecurityStampValidator>
Microsoft.AspNetCore.Identity.Test (8)
SecurityStampValidatorTest.cs (8)
65
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() =>
SecurityStampValidator
.ValidatePrincipalAsync(context));
90
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
148
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
189
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
230
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
267
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
310
await
SecurityStampValidator
.ValidatePrincipalAsync(context);
354
await
SecurityStampValidator
.ValidateAsync<ITwoFactorSecurityStampValidator>(context);