16 references to User
ClaimsTransformation (2)
artifacts\obj\ClaimsTransformation\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Home\MyClaims_cshtml.g.cs (1)
47
foreach (var claim in
User
.Claims)
artifacts\obj\ClaimsTransformation\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Shared\_Layout_cshtml.g.cs (1)
310
if (
User
.Identity.IsAuthenticated)
Cookies (2)
artifacts\obj\Cookies\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Home\MyClaims_cshtml.g.cs (1)
47
foreach (var claim in
User
.Claims)
artifacts\obj\Cookies\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Shared\_Layout_cshtml.g.cs (1)
170
if (
User
.Identity.IsAuthenticated)
CustomPolicyProvider (4)
artifacts\obj\CustomPolicyProvider\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Account\Denied_cshtml.g.cs (2)
36
User
?.Identity?.Name ?? "User"
46
var dateOfBirth =
User
?.FindFirst(c => c.Type == ClaimTypes.DateOfBirth)?.Value;
artifacts\obj\CustomPolicyProvider\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Home\MinimumAge_cshtml.g.cs (2)
45
var dateOfBirth =
User
.FindFirst(c => c.Type == ClaimTypes.DateOfBirth)?.Value;
55
User
.Identity.Name
IdentitySample.Mvc (2)
artifacts\obj\IdentitySample.Mvc\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Shared\_LoginPartial_cshtml.g.cs (2)
60
if (SignInManager.IsSignedIn(
User
))
74
UserManager.GetUserName(
User
)
Microsoft.AspNetCore.Identity.UI (1)
Logout_cshtml.g.cs (1)
81
if (
User
.Identity!.IsAuthenticated)
PathSchemeSelection (3)
artifacts\obj\PathSchemeSelection\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Home\MyClaims_cshtml.g.cs (2)
48
User
.Identity.AuthenticationType
57
foreach (var claim in
User
.Claims)
artifacts\obj\PathSchemeSelection\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Shared\_Layout_cshtml.g.cs (1)
170
if (
User
.Identity.IsAuthenticated)
StaticFilesAuth (2)
artifacts\obj\StaticFilesAuth\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Shared\_LoginPartial_cshtml.g.cs (2)
47
if (
User
.Identity.IsAuthenticated)
70
User
.Identity.Name