2 writes to Username
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
66requestToken.Username = authenticatedIdentity.Name;
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
109deserializedToken.Username = reader.ReadString();
4 references to Username
Microsoft.AspNetCore.Antiforgery (4)
Internal\DefaultAntiforgeryTokenGenerator.cs (3)
77&& string.IsNullOrEmpty(requestToken.Username) 161if (!comparer.Equals(requestToken.Username, currentUsername)) 163message = Resources.FormatAntiforgeryToken_UsernameMismatch(requestToken.Username, currentUsername);
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
148writer.Write(token.Username!);