6 references to HtmlEncode
OpenIdConnectSample (6)
Startup.cs (6)
166
await res.WriteAsync($"<h1>Signed out {
HtmlEncode
(context.User.Identity.Name)}</h1>");
198
await res.WriteAsync($"<h1>Access Denied for user {
HtmlEncode
(context.User.Identity.Name)} to resource '{
HtmlEncode
(context.Request.Query["ReturnUrl"])}'</h1>");
311
await res.WriteAsync($"<h1>Hello Authenticated User {
HtmlEncode
(user.Identity.Name)}</h1>");
343
await response.WriteAsync($"<th>{
HtmlEncode
(column)}</th>");
351
await response.WriteAsync($"<td>{
HtmlEncode
(column)}</td>");