diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-04-30 20:17:10 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-04-30 20:17:10 +0300 |
| commit | 8336c907a3084b7333e27da3a2ea601dfc4258f2 (patch) | |
| tree | de3e6b1394a4822a66d291b348a5f0072616ccc2 /Software/Visual_Studio/FSE/Tango.FSE.Web | |
| parent | cf6944f2dcff57e25c5d804b5f2659381df38e1c (diff) | |
| download | Tango-8336c907a3084b7333e27da3a2ea601dfc4258f2.tar.gz Tango-8336c907a3084b7333e27da3a2ea601dfc4258f2.zip | |
FSE automatic update checks.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Web')
5 files changed, 73 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesRequest.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesRequest.cs new file mode 100644 index 000000000..3cf355292 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesRequest.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.FSE.Web.Messages +{ + public class CheckForUpdatesRequest : WebRequestMessage + { + public String Version { get; set; } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesResponse.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesResponse.cs new file mode 100644 index 000000000..2ddf4e420 --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/CheckForUpdatesResponse.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.FSE.Web.Messages +{ + public class CheckForUpdatesResponse : WebResponseMessage + { + public bool IsUpdateAvailable { get; set; } + + public String Version { get; set; } + + public String Comments { get; set; } + + public String BlobAddress { get; set; } + + public String CdnAddress { get; set; } + + public String InstallerCdnAddress { get; set; } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenRequest.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenRequest.cs new file mode 100644 index 000000000..8464f9a8e --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenRequest.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.FSE.Web.Messages +{ + public class RefreshTokenRequest : WebRequestMessage + { + + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenResponse.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenResponse.cs new file mode 100644 index 000000000..d954fa3ef --- /dev/null +++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/RefreshTokenResponse.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Transport.Web; + +namespace Tango.FSE.Web.Messages +{ + public class RefreshTokenResponse : WebResponseMessage + { + public String AccessToken { get; set; } + public DateTime Expiration { get; set; } + } +} diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj b/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj index bd42e54f5..19b8330cb 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj +++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj @@ -43,10 +43,14 @@ <ItemGroup> <Compile Include="Messages\BugReportingInfoRequest.cs" /> <Compile Include="Messages\BugReportingInfoResponse.cs" /> + <Compile Include="Messages\CheckForUpdatesRequest.cs" /> + <Compile Include="Messages\CheckForUpdatesResponse.cs" /> <Compile Include="Messages\DownloadTangoVersionRequest.cs" /> <Compile Include="Messages\DownloadTangoVersionResponse.cs" /> <Compile Include="Messages\LoginRequest.cs" /> <Compile Include="Messages\LoginResponse.cs" /> + <Compile Include="Messages\RefreshTokenRequest.cs" /> + <Compile Include="Messages\RefreshTokenResponse.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> |
