azure_identity::refresh_token

Function exchange

Source
pub async fn exchange(
    http_client: Arc<dyn HttpClient>,
    tenant_id: &str,
    client_id: &str,
    client_secret: Option<&str>,
    refresh_token: &Secret,
) -> Result<RefreshTokenResponse>
Expand description

Exchange a refresh token for a new access token and refresh token