summaryrefslogtreecommitdiffstats
path: root/samples/OAuth2ProtectedWebApi/Views/User/Authorize.cshtml
blob: 06647415f4702d013f0d42f1d0bc6a82c3751ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@{
	ViewBag.Title = "Authorize";
	Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Authorize</h2>

@using (Html.BeginForm("Respond", "User", FormMethod.Post)) {
	@AntiForgery.GetHtml()
	@Html.Hidden("request", this.ViewData["request"])
	<input type="submit" name="approval" value="true" />
	<input type="submit" name="approval" value="false" />
}