cleanup
This commit is contained in:
parent
628fab2146
commit
98ebb6e812
4 changed files with 0 additions and 18 deletions
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue