This function is called when an M_UNKNOWN_TOKEN error is encountered. It will attempt to refresh the access token if it is unknown, and will return a TokenRefreshOutcome.
the snapshot returned by prepareForRequest
the number of attempts made for this request so far
a TokenRefreshOutcome indicating the result of the refresh attempt
This class is responsible for managing the access token and refresh token for authenticated requests. It will automatically refresh the access token when it is about to expire, and will handle unknown token errors.