[−][src]Function twitch_oauth2::revoke_token
pub async fn revoke_token<RE, C, F>(
http_client: C,
token: &AccessToken,
client_id: &ClientId
) -> Result<(), RevokeTokenError<RE>> where
RE: Error + Send + Sync + 'static,
C: FnOnce(HttpRequest) -> F,
F: Future<Output = Result<HttpResponse, RE>>,
Revoke the token.
See https://dev.twitch.tv/docs/authentication#revoking-access-tokens