Closed martinbalucha closed 2 weeks 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
The task will be put on hold due to broken DX Trade API
Won't do; DxTrade is trash
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