3923a3b403967d2e5d767da1386a50bba352aa9f
Added a private extension method GetRequiredClaimOfSender to ClaimsPrincipal for retrieving the first available value from multiple claim types, throwing a detailed exception if none are found. Refactored GetId to use this method, improving code reuse and clarity when handling user claims.
Description
No description provided
Languages
JavaScript
86.1%
C#
5.7%
HTML
4.2%
Visual Basic .NET
2.6%
CSS
0.9%
Other
0.4%