7 references to InvalidEmail
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (2)
73
return CreateValidationProblem(IdentityResult.Failed(userManager.ErrorDescriber.
InvalidEmail
(email)));
359
return CreateValidationProblem(IdentityResult.Failed(userManager.ErrorDescriber.
InvalidEmail
(infoRequest.NewEmail)));
Microsoft.AspNetCore.Identity.Specification.Tests (3)
UserManagerSpecificationTests.cs (3)
313
IdentityResultAssert.IsFailure(await manager.SetEmailAsync(newUser, ""), _errorDescriber.
InvalidEmail
(""));
410
IdentityResultAssert.IsFailure(await manager.CreateAsync(user), _errorDescriber.
InvalidEmail
(email));
425
IdentityResultAssert.IsFailure(await manager.CreateAsync(user), _errorDescriber.
InvalidEmail
(email));
Microsoft.Extensions.Identity.Core (2)
UserValidator.cs (2)
88
errors.Add(Describer.
InvalidEmail
(email));
94
errors.Add(Describer.
InvalidEmail
(email));