6 references to ValidateSecurityStampAsync
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
132
await signInManager.
ValidateSecurityStampAsync
(refreshTicket.Principal) is not TUser user)
SecurityStampValidator.cs (1)
127
=> SignInManager.
ValidateSecurityStampAsync
(principal);
Microsoft.AspNetCore.Identity.Test (4)
SecurityStampValidatorTest.cs (4)
107
signInManager.Setup(s => s.
ValidateSecurityStampAsync
(It.IsAny<ClaimsPrincipal>())).ReturnsAsync(shouldStampValidate ? user : default).Verifiable();
211
signInManager.Setup(s => s.
ValidateSecurityStampAsync
(It.IsAny<ClaimsPrincipal>())).ReturnsAsync(default(PocoUser)).Verifiable();
250
signInManager.Setup(s => s.
ValidateSecurityStampAsync
(It.IsAny<ClaimsPrincipal>())).Throws(new Exception("Shouldn't be called"));
287
signInManager.Setup(s => s.
ValidateSecurityStampAsync
(It.IsAny<ClaimsPrincipal>())).Returns(Task.FromResult(user));