@model Projects.Models.ManageLoginsViewModel @using Microsoft.Owin.Security @{ ViewBag.Title = "Manage your external logins"; }
@ViewBag.StatusMessage
@{ var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes(); if (loginProviders.Count() == 0) {There are no external authentication services configured. See this article for details on setting up this ASP.NET application to support logging in via external services.
@account.LoginProvider |
@if (ViewBag.ShowRemoveButton)
{
using (Html.BeginForm("RemoveLogin", "Manage"))
{
@Html.AntiForgeryToken()
@Html.Hidden("loginProvider", account.LoginProvider)
@Html.Hidden("providerKey", account.ProviderKey)
}
}
else
{
@:
}
|
@foreach (AuthenticationDescription p in Model.OtherLogins) { }