summaryrefslogtreecommitdiffstats
path: root/samples/DotNetOpenAuth.Samples.OpenIDConnectRP/Controllers/HomeController.cs
blob: a2ed1c745c7777ae1b039f7ccc0cade7d647b47e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

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

        [Authorize]
        public ActionResult Claims() {
            ViewBag.Message = "Claims";

            return View();
        }
    }
}