pub async fn refresh_token(
_client: &Client,
oauth_access_token: &str,
) -> Result<OAuthCredentials, RefreshFailure>Expand description
Broker refresh: re-mint a Model API key from the stored OAuth access token (no browser). The OAuth token is carried over unchanged, so the compare-and-swap save in the token store matches.