Get User Id from Web API

This commit is contained in:
Paul Schneider 2025-02-17 23:56:28 +00:00
commit 9e6a4f7d13
26 changed files with 83 additions and 60 deletions

View file

@ -9,7 +9,6 @@ namespace Yavsc.Helpers
{
public static class UserHelpers
{
public static string GetUserId(this ClaimsPrincipal user)
{
return user.FindFirstValue("sub");