@using System.Security.Claims @model int @{ var dateOfBirth = User.FindFirst(c => c.Type == ClaimTypes.DateOfBirth)?.Value; }
You can access this page since you were born on @dateOfBirth.