17 references to User
ClaimsTransformation (2)
artifacts\obj\ClaimsTransformation\Release\net10.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\net10.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\net10.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\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Shared__Layout_cshtml.g.cs (1)
310
if (
User
.Identity.IsAuthenticated)
CustomPolicyProvider (4)
artifacts\obj\CustomPolicyProvider\Release\net10.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\net10.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\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Shared__LoginPartial_cshtml.g.cs (2)
93
if (SignInManager.IsSignedIn(
User
))
108
UserManager.GetUserName(
User
)
Microsoft.AspNetCore.Identity.UI (2)
Areas_Identity_Pages_V4_Account_Logout_cshtml.g.cs (1)
81
if (
User
.Identity!.IsAuthenticated)
Areas_Identity_Pages_V5_Account_Logout_cshtml.g.cs (1)
81
if (
User
.Identity!.IsAuthenticated)
PathSchemeSelection (3)
artifacts\obj\PathSchemeSelection\Release\net10.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\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Shared__Layout_cshtml.g.cs (1)
310
if (
User
.Identity.IsAuthenticated)
StaticFilesAuth (2)
artifacts\obj\StaticFilesAuth\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Shared__LoginPartial_cshtml.g.cs (2)
76
if (
User
.Identity.IsAuthenticated)
89
User
.Identity.Name