code/Athena0.0.1/Web/Views/ACETemplate/Account/_ExternalLoginsListPartial.cshtml

(完整代码) 864B

@model ICollection<AuthenticationClientData>

@if (Model.Count == 0)
{
    <div class="message-info">
        <p>未配置外部身份验证服务。请参见<a href="http://go.microsoft.com/fwlink/?LinkId=252166">此文章</a>,
        以详细了解如何将此 ASP.NET 应用程序设置为支持通过外部服务登录。</p>
    </div>
}
else
{
    using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = ViewBag.ReturnUrl }))
    {
    @Html.AntiForgeryToken()
    <fieldset id="socialLoginList">
        <legend>使用其他服务登录</legend>
        <p>
        @foreach (AuthenticationClientData p in Model)
        {
            <button type="submit" name="provider" value="@p.AuthenticationClient.ProviderName" title="使用你的 @p.DisplayName 帐户登录">@p.DisplayName</button>
        }
        </p>
    </fieldset>
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。