public static string GetEmailValue(this ClaimsPrincipal principal) { return principal.FindFirstValue(ClaimTypes.Email, true); }