FindFirst(ClaimTypes.Name); ... private string FindFirstValue( string claimType) ... throw new Exception($ "Claim '{claimType}' was not found." );.
確定! 回上一頁