@model IdentitySample.Models.ManageLoginsViewModel @using Microsoft.AspNet.Http.Security @{ //TODO: Until we have a way to specify the layout page at application level. Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Manage your external logins"; }

@ViewBag.Title.

@ViewBag.StatusMessage

@if (Model.CurrentLogins.Count > 0) {

Registered Logins

@foreach (var account in Model.CurrentLogins) { }
@account.LoginProvider @if (ViewBag.ShowRemoveButton) { using (Html.BeginForm("RemoveLogin", "Manage")) { @Html.AntiForgeryToken()
@Html.Hidden("loginProvider", account.LoginProvider) @Html.Hidden("providerKey", account.ProviderKey)
} } else { @:   }
} @if (Model.OtherLogins.Count > 0) {

Add another service to log in.


using (Html.BeginForm("LinkLogin", "Manage")) { @Html.AntiForgeryToken()

@foreach (AuthenticationDescription p in Model.OtherLogins) { }

} }