> For the complete documentation index, see [llms.txt](https://docs.movesdk.com/move-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.movesdk.com/move-platform/sdk/appendix/token-refresh.md).

# Token refresh

Since MOVE SDK v2.6.7, token refresh is handled **automatically and internally** by the SDK. Host applications using `setup(...)` do not need to implement any token refresh logic.

The SDK uses the `refreshToken` internally to obtain a new `accessToken` whenever needed, without any action required from the host app.

**Authentication State Monitoring**

The host app should monitor MoveAuthState via the `AuthStateUpdateListener`. The only actionable state is `INVALID`. When this occurs, the user should be logged out and `shutdown(force: true)` should be called.
