JakubDuch7790 / WatchDogs

0 stars 0 forks source link

Implement token refresh #4

Closed martinbalucha closed 2 weeks ago

martinbalucha commented 1 month ago

After the authentication is done, implement token refresh using Ping endpoint, see https://demo.dx.trade/developers/#/DXtrade-REST-API?id=ping-api

We can configure the time since when the token can get validated (e. g. 5 minutes before the expiration)

Consider using https://learn.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-8.0&tabs=visual-studio for periodic refresh

AC: the token is refreshed during the application run and the WatchDog is never logged out while it is running

martinbalucha commented 1 month ago

The task will be put on hold due to broken DX Trade API

martinbalucha commented 2 weeks ago

Won't do; DxTrade is trash