9 |
10 | Logout
11 | You are now logged out
12 |
13 |
14 | @if (Model.PostLogoutRedirectUri != null)
15 | {
16 |
17 | Click
here to return to the
18 |
@Model.ClientName application.
19 |
20 | }
21 |
22 | @if (Model.SignOutIframeUrl != null)
23 | {
24 |
25 | }
26 |
27 |
28 | @section scripts
29 | {
30 | @if (Model.AutomaticRedirectAfterSignOut)
31 | {
32 |
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Account/Login.cshtml:
--------------------------------------------------------------------------------
1 | @model LoginViewModel
2 |
3 |
4 |
5 |
Login
6 |
Choose how to login
7 |
8 |
9 |
10 |
11 |
12 |
13 | @if (Model.EnableLocalLogin)
14 | {
15 |
50 | }
51 |
52 | @if (Model.VisibleExternalProviders.Any())
53 | {
54 |
77 | }
78 |
79 | @if (!Model.EnableLocalLogin && !Model.VisibleExternalProviders.Any())
80 | {
81 |
82 | Invalid login request
83 | There are no login schemes configured for this request.
84 |
85 | }
86 |
87 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Account/Logout.cshtml:
--------------------------------------------------------------------------------
1 | @model LogoutViewModel
2 |
3 |
4 |
5 |
Logout
6 |
Would you like to logut of IdentityServer?
7 |
8 |
9 |
15 |
16 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Device/Success.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Success
5 |
You have successfully authorized the device
6 |
7 |
8 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Device/UserCodeCapture.cshtml:
--------------------------------------------------------------------------------
1 | @model string
2 |
3 |
4 |
5 |
User Code
6 |
Please enter the code displayed on your device.
7 |
8 |
9 |
10 |
11 |
23 |
24 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Diagnostics/Index.cshtml:
--------------------------------------------------------------------------------
1 | @model DiagnosticsViewModel
2 |
3 |
4 |
5 |
Authentication Cookie
6 |
7 |
8 |
9 |
10 |
11 |
14 |
15 |
16 | @foreach (var claim in Model.AuthenticateResult.Principal.Claims)
17 | {
18 | - @claim.Type
19 | - @claim.Value
20 | }
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
31 |
32 |
33 | @foreach (var prop in Model.AuthenticateResult.Properties.Items)
34 | {
35 | - @prop.Key
36 | - @prop.Value
37 | }
38 | @if (Model.Clients.Any())
39 | {
40 | - Clients
41 | -
42 | @{
43 | var clients = Model.Clients.ToArray();
44 | for(var i = 0; i < clients.Length; i++)
45 | {
46 | @clients[i]
47 | if (i < clients.Length - 1)
48 | {
49 | ,
50 | }
51 | }
52 | }
53 |
54 | }
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Grants/Index.cshtml:
--------------------------------------------------------------------------------
1 | @model GrantsViewModel
2 |
3 |
4 |
5 |
Client Application Permissions
6 |
Below is the list of applications you have given permission to and the resources they have access to.
7 |
8 |
9 | @if (Model.Grants.Any() == false)
10 | {
11 |
12 |
13 |
14 | You have not given access to any applications
15 |
16 |
17 |
18 | }
19 | else
20 | {
21 | foreach (var grant in Model.Grants)
22 | {
23 |
24 |
42 |
43 |
44 | @if (grant.Description != null)
45 | {
46 | -
47 | @grant.Description
48 |
49 | }
50 | -
51 | @grant.Created.ToString("yyyy-MM-dd")
52 |
53 | @if (grant.Expires.HasValue)
54 | {
55 | -
56 | @grant.Expires.Value.ToString("yyyy-MM-dd")
57 |
58 | }
59 | @if (grant.IdentityGrantNames.Any())
60 | {
61 | -
62 |
63 |
64 | @foreach (var name in grant.IdentityGrantNames)
65 | {
66 | - @name
67 | }
68 |
69 |
70 | }
71 | @if (grant.ApiGrantNames.Any())
72 | {
73 | -
74 |
75 |
76 | @foreach (var name in grant.ApiGrantNames)
77 | {
78 | - @name
79 | }
80 |
81 |
82 | }
83 |
84 |
85 | }
86 | }
87 |
--------------------------------------------------------------------------------
/SecureResource/IdentityServer/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @using System.Diagnostics
2 |
3 | @{
4 | var version = FileVersionInfo.GetVersionInfo(typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.Location).ProductVersion.Split('+').First();
5 | }
6 |
7 |
4 |
5 |
You are now being returned to the application
6 |
Once complete, you may close this tab.
7 |
8 |
9 |
10 |