TO FINISH ; Profile service ...

This commit is contained in:
Paul Schneider
2025-02-15 18:40:22 +00:00
parent bd226c84a7
commit 4dd7353235
2 changed files with 38 additions and 33 deletions

View File

@ -191,5 +191,11 @@ namespace Yavsc.WebApi.Controllers
await _userManager.UpdateAsync(user);
return Ok(info);
}
[HttpGet("identity")]
public async Task<IActionResult> Identity()
{
return Json(User.Claims.Select(c=>new {c.Type, c.Value}));
}
}
}