TO FINISH ; Profile service ...
This commit is contained in:
parent
4d2d0d32a2
commit
0936afb9ad
2 changed files with 38 additions and 33 deletions
|
|
@ -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}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue