A resolver that can also be told the token it handed over is no longer good.
AuthTokenCache from @uploadcare/signed-uploads/client is one, so an
instance can be passed as authToken directly.
invalidate is what lets this client recover from a token the Upload API
refuses: without it, asking a cache for a token again returns the same one it
just cached, and the retry fails identically.
A resolver that can also be told the token it handed over is no longer good.
AuthTokenCachefrom@uploadcare/signed-uploads/clientis one, so an instance can be passed asauthTokendirectly.invalidateis what lets this client recover from a token the Upload API refuses: without it, asking a cache for a token again returns the same one it just cached, and the retry fails identically.