﻿using System.Security.Claims;
using System.Web.Mvc;

namespace MvcExample.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [Authorize]
        public ActionResult Authed()
        {
            return View((User as ClaimsPrincipal)?.Claims);
        }

    }
}
