ewelink-api icon indicating copy to clipboard operation
ewelink-api copied to clipboard

Refresh Token

Open ianmaciel opened this issue 2 years ago • 0 comments

Frist of all, thank you for this implementation.

I am porting this library to Dart/Flutter and trying to understand how to renew the access token. I noticed that we have the "refresh token" available on auth object auth.rt, but I couldn't find any information about how to use it and exchange for a new access token.

TLDR: Does anyone know how exchange the refresh token (auth.rt) for a new access token (auth.at)?

ianmaciel avatar Jun 03 '22 14:06 ianmaciel