None.
47 | }
48 |
49 |
--------------------------------------------------------------------------------
/TodoListService-ManualJwt/Areas/HelpPage/Views/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
@description.Documentation
13 |
14 |
Request Information
15 |
16 |
URI Parameters
17 | @Html.DisplayFor(m => m.UriParameters, "Parameters")
18 |
19 |
Body Parameters
20 |
21 |
@Model.RequestDocumentation
22 |
23 | @if (Model.RequestModelDescription != null)
24 | {
25 | @Html.DisplayFor(m => m.RequestModelDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.RequestModelDescription })
26 | if (Model.RequestBodyParameters != null)
27 | {
28 | @Html.DisplayFor(m => m.RequestBodyParameters, "Parameters")
29 | }
30 | }
31 | else
32 | {
33 |
None.
34 | }
35 |
36 | @if (Model.SampleRequests.Count > 0)
37 | {
38 |
Request Formats
39 | @Html.DisplayFor(m => m.SampleRequests, "Samples")
40 | }
41 |
42 |
Response Information
43 |
44 |
Resource Description
45 |
46 |
@description.ResponseDescription.Documentation
47 |
48 | @if (Model.ResourceDescription != null)
49 | {
50 | @Html.DisplayFor(m => m.ResourceDescription.ModelType, "ModelDescriptionLink", new { modelDescription = Model.ResourceDescription })
51 | if (Model.ResourceProperties != null)
52 | {
53 | @Html.DisplayFor(m => m.ResourceProperties, "Parameters")
54 | }
55 | }
56 | else
57 | {
58 |
None.
59 | }
60 |
61 | @if (Model.SampleResponses.Count > 0)
62 | {
63 |
Response Formats
64 | @Html.DisplayFor(m => m.SampleResponses, "Samples")
65 | }
66 |
67 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
2 | [Bb]in/
3 | [Oo]bj/
4 |
5 | # mstest test results
6 | TestResults
7 |
8 | ## Ignore Visual Studio temporary files, build results, and
9 | ## files generated by popular Visual Studio add-ons.
10 |
11 | # User-specific files
12 | *.suo
13 | *.user
14 | *.sln.docstates
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Rr]elease/
19 | x64/
20 | *_i.c
21 | *_p.c
22 | *.ilk
23 | *.meta
24 | *.obj
25 | *.pch
26 | *.pdb
27 | *.pgc
28 | *.pgd
29 | *.rsp
30 | *.sbr
31 | *.tlb
32 | *.tli
33 | *.tlh
34 | *.tmp
35 | *.log
36 | *.vspscc
37 | *.vssscc
38 | .builds
39 |
40 | # Visual C++ cache files
41 | ipch/
42 | *.aps
43 | *.ncb
44 | *.opensdf
45 | *.sdf
46 |
47 | # Visual Studio profiler
48 | *.psess
49 | *.vsp
50 | *.vspx
51 |
52 | # Guidance Automation Toolkit
53 | *.gpState
54 |
55 | # ReSharper is a .NET coding add-in
56 | _ReSharper*
57 |
58 | # NCrunch
59 | *.ncrunch*
60 | .*crunch*.local.xml
61 |
62 | # Installshield output folder
63 | [Ee]xpress
64 |
65 | # DocProject is a documentation generator add-in
66 | DocProject/buildhelp/
67 | DocProject/Help/*.HxT
68 | DocProject/Help/*.HxC
69 | DocProject/Help/*.hhc
70 | DocProject/Help/*.hhk
71 | DocProject/Help/*.hhp
72 | DocProject/Help/Html2
73 | DocProject/Help/html
74 |
75 | # Click-Once directory
76 | publish
77 |
78 | # Publish Web Output
79 | *.Publish.xml
80 |
81 | # NuGet Packages Directory
82 | packages
83 |
84 | # Windows Azure Build Output
85 | csx
86 | *.build.csdef
87 |
88 | # Windows Store app package directory
89 | AppPackages/
90 |
91 | # Others
92 | [Bb]in
93 | [Oo]bj
94 | sql
95 | TestResults
96 | [Tt]est[Rr]esult*
97 | *.Cache
98 | ClientBin
99 | [Ss]tyle[Cc]op.*
100 | ~$*
101 | *.dbmdl
102 | Generated_Code #added for RIA/Silverlight projects
103 |
104 | # Backup & report files from converting an old project file to a newer
105 | # Visual Studio version. Backup files are not needed, because we have git ;-)
106 | _UpgradeReport_Files/
107 | Backup*/
108 | UpgradeLog*.XML
109 | /.vs
110 | /AppCreationScripts/createdApps.html
111 | /TokenCache.dat
112 |
--------------------------------------------------------------------------------
/TodoListClient/FileCache.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using System.Security.Cryptography;
3 | using Microsoft.Identity.Client;
4 |
5 | namespace TodoListClient
6 | {
7 | static class FileCache
8 | {
9 |
10 | ///