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