diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-11-17 15:11:40 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-11-17 15:11:40 +0200 |
| commit | 69dbba322f6ef275134b7b214510e47b9fcdd0b0 (patch) | |
| tree | fd7a96fcf96ce86b7fa80f38161cb23ea140973c /Software/Visual_Studio/DataStore/Tango.DataStore.Web | |
| parent | 6f0f2a7908884deab8aca33ec967d03c5e564060 (diff) | |
| download | Tango-69dbba322f6ef275134b7b214510e47b9fcdd0b0.tar.gz Tango-69dbba322f6ef275134b7b214510e47b9fcdd0b0.zip | |
IMplemented NSwag for DataStore WebAPI controller.
Implemented data store tool dsUtil.
Diffstat (limited to 'Software/Visual_Studio/DataStore/Tango.DataStore.Web')
3 files changed, 30 insertions, 0 deletions
diff --git a/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginRequest.cs b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginRequest.cs new file mode 100644 index 000000000..4a68fe3ab --- /dev/null +++ b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginRequest.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.DataStore.Web +{ + public class LoginRequest + { + public String Email { get; set; } + public String Password { get; set; } + } +} diff --git a/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginResponse.cs b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginResponse.cs new file mode 100644 index 000000000..5c70d85b9 --- /dev/null +++ b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/LoginResponse.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.DataStore.Web +{ + public class LoginResponse + { + public String Token { get; set; } + public DateTime ExpirationUTC { get; set; } + } +} diff --git a/Software/Visual_Studio/DataStore/Tango.DataStore.Web/Tango.DataStore.Web.csproj b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/Tango.DataStore.Web.csproj index ac4e4a6f8..9233a050b 100644 --- a/Software/Visual_Studio/DataStore/Tango.DataStore.Web/Tango.DataStore.Web.csproj +++ b/Software/Visual_Studio/DataStore/Tango.DataStore.Web/Tango.DataStore.Web.csproj @@ -52,6 +52,8 @@ <Compile Include="DataStoreWebItemType.cs" /> <Compile Include="DataStoreWebPutItem.cs" /> <Compile Include="ExtensionMethods.cs" /> + <Compile Include="LoginRequest.cs" /> + <Compile Include="LoginResponse.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> |
