Skip to main content

revoke

Function revoke 

Source
pub async fn revoke(
    http: &Client,
    who: &Caller,
    access_token: Option<&str>,
    refresh_token: Option<&str>,
) -> Result<Revoked, BrokerError>
Expand description

End the grant on GitHub and at the broker. Both of the install’s tokens are sent, so a dead access token can fall back to the refresh token.