3 references to FindFirst
CustomPolicyProvider (3)
artifacts\obj\CustomPolicyProvider\Release\net11.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views\Account\Denied_cshtml.g.cs (1)
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 (1)
45
var dateOfBirth = User.
FindFirst
(c => c.Type == ClaimTypes.DateOfBirth)?.Value;
Authorization\MinimumAgeAuthorizationHandler.cs (1)
32
var dateOfBirthClaim = context.User.
FindFirst
(c => c.Type == ClaimTypes.DateOfBirth);