Call this method after retrieving a new token.
In case when app decides not to refresh the session for the user, they should call this with newToken as null.
null
Future<void> onSuccess(String? newAccessToken);