This commit is contained in:
Michele 2020-11-13 22:05:33 +00:00
parent 628fab2146
commit 98ebb6e812
4 changed files with 0 additions and 18 deletions

View file

@ -1,18 +0,0 @@
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
namespace Sledgemapper.Api.Controllers
{
[Route("identity")]
[Authorize]
public class IdentityController : ControllerBase
{
[HttpGet]
public IActionResult Get()
{
return new JsonResult(from c in User.Claims select new { c.Type, c.Value });
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.