17 lines
No EOL
633 B
Text
17 lines
No EOL
633 B
Text
|
|
@using Microsoft.AspNet.Http.Authentication
|
|
@model IEnumerable<AuthenticationDescription>
|
|
|
|
<div class="jumbotron">
|
|
<h1>Authentication</h1>
|
|
<p class="lead text-left">Sign in using one of these external providers:</p>
|
|
|
|
@foreach (var description in Model) {
|
|
<form action="/signin" method="post">
|
|
<input type="hidden" name="Provider" value="@description.AuthenticationScheme" />
|
|
<input type="hidden" name="ReturnUrl" value="@ViewBag.ReturnUrl" />
|
|
|
|
<button class="btn btn-lg btn-success" type="submit">Connect using @description.DisplayName</button>
|
|
</form>
|
|
}
|
|
</div> |