4 |
7 |
8 | @Html.Partial("_ValidationSummary")
9 |
10 |
11 |
12 | @if (Model.EnableLocalLogin)
13 | {
14 |
15 |
16 |
17 |
Local Login
18 |
19 |
49 |
50 |
51 | }
52 |
53 | @if (Model.VisibleExternalProviders.Any())
54 | {
55 |
56 |
57 |
58 |
External Login
59 |
60 |
75 |
76 |
77 | }
78 |
79 | @if (!Model.EnableLocalLogin && !Model.VisibleExternalProviders.Any())
80 | {
81 |
82 | Invalid login request
83 | There are no login schemes configured for this client.
84 |
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/Fiver.Security.AuthServer/Views/Account/Logout.cshtml:
--------------------------------------------------------------------------------
1 | @model LogoutViewModel
2 |
3 |
4 |
12 |
13 | @if (Model.Grants.Any() == false)
14 | {
15 |
16 |
17 |
18 | You have not given access to any applications
19 |
20 |
21 |
22 | }
23 | else
24 | {
25 | foreach (var grant in Model.Grants)
26 | {
27 |
28 |
29 | @if (grant.ClientLogoUrl != null)
30 | {
31 |

32 | }
33 |
34 |
35 |
@grant.ClientName
36 |
37 | Created: @grant.Created.ToString("yyyy-MM-dd")
38 |
39 | @if (grant.Expires.HasValue)
40 | {
41 |
42 | Expires: @grant.Expires.Value.ToString("yyyy-MM-dd")
43 |
44 | }
45 | @if (grant.IdentityGrantNames.Any())
46 | {
47 |
48 |
Identity Grants
49 |
50 | @foreach (var name in grant.IdentityGrantNames)
51 | {
52 | - @name
53 | }
54 |
55 |
56 | }
57 | @if (grant.ApiGrantNames.Any())
58 | {
59 |
60 |
API Grants
61 |
62 | @foreach (var name in grant.ApiGrantNames)
63 | {
64 | - @name
65 | }
66 |
67 |
68 | }
69 |
70 |
71 |
75 |
76 |
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/Fiver.Security.AuthServer/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 |