pub async fn refresh(
http: &Client,
token_url: &str,
client_id: &str,
client_secret: Option<&str>,
refresh_token: &str,
) -> Result<TokenSet, TokenError>Expand description
Refreshes an access token with a stored refresh token.
§Errors
TokenError::Status when the refresh is rejected (revoked/expired).