From 229b517f2c7187891aee17e94a3491934e495716 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 23 Oct 2017 09:32:55 -0400 Subject: [PATCH] remove claims endpoint --- src/Api/Controllers/MiscController.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Api/Controllers/MiscController.cs b/src/Api/Controllers/MiscController.cs index 8123b0734e..eec7e87abf 100644 --- a/src/Api/Controllers/MiscController.cs +++ b/src/Api/Controllers/MiscController.cs @@ -1,6 +1,5 @@ using System; using Microsoft.AspNetCore.Mvc; -using System.Linq; using Bit.Core.Models.Api; namespace Bit.Api.Controllers @@ -14,12 +13,6 @@ namespace Bit.Api.Controllers return DateTime.UtcNow; } - [HttpGet("~/claims")] - public IActionResult Claims() - { - return new JsonResult(User?.Claims?.Select(c => new { c.Type, c.Value })); - } - [HttpGet("~/version")] public VersionResponseModel Version() {