5 writes to AllowedUserNameCharacters
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
SqlStoreTestBase.cs (1)
39options.User.AllowedUserNameCharacters = null;
UserStoreEncryptPersonalDataTest.cs (1)
27options.User.AllowedUserNameCharacters = null;
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (1)
50options.User.AllowedUserNameCharacters = null;
UserManagerSpecificationTests.cs (1)
63options.User.AllowedUserNameCharacters = null;
Microsoft.AspNetCore.Identity.Test (1)
UserValidatorTest.cs (1)
77manager.Options.User.AllowedUserNameCharacters = null;
3 references to AllowedUserNameCharacters
Microsoft.AspNetCore.Identity.Test (1)
IdentityOptionsTest.cs (1)
28Assert.Equal("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+", options.User.AllowedUserNameCharacters);
Microsoft.Extensions.Identity.Core (2)
UserValidator.cs (2)
61else if (!string.IsNullOrEmpty(manager.Options.User.AllowedUserNameCharacters) && 62userName.Any(c => !manager.Options.User.AllowedUserNameCharacters.Contains(c)))