diff --git a/aspnetcore/blazor/security/server/index.md b/aspnetcore/blazor/security/server/index.md index e91e3bfff8af..67a34605031a 100644 --- a/aspnetcore/blazor/security/server/index.md +++ b/aspnetcore/blazor/security/server/index.md @@ -262,11 +262,11 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider return Task.FromResult(new AuthenticationState(user)); } - public void AuthenticateUser(string emailAddress) + public void AuthenticateUser(string userIdentifier) { var identity = new ClaimsIdentity(new[] { - new Claim(ClaimTypes.Name, emailAddress), + new Claim(ClaimTypes.Name, userIdentifier), }, "Custom Authentication"); var user = new ClaimsPrincipal(identity);