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
88.9%
C#
5.6%
Visual Basic .NET
2.8%
HTML
1.3%
CSS
0.9%
Other
0.4%