This pull request adds a refresh_token argument to NakamaClient.restore_session, allowing sessions to be refreshed directly from a restored state. Previously, using client.session_refresh_async(session) on a restored session would result in a Refresh token is required error.
Key Changes:
Updated NakamaClient.restore_session to accept a refresh_token.
Modified README.md to demonstrate the new functionality.
This pull request adds a
refresh_token
argument toNakamaClient.restore_session
, allowing sessions to be refreshed directly from a restored state. Previously, usingclient.session_refresh_async(session)
on a restored session would result in aRefresh token is required
error.Key Changes:
NakamaClient.restore_session
to accept arefresh_token
.Fixes: #207