Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
17
Yavsc/Views/Shared/SignIn.cshtml
Normal file
17
Yavsc/Views/Shared/SignIn.cshtml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
@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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue