google-auth-library
Version:
Google APIs Authentication Client Library for Node.js
10 lines (9 loc) • 419 B
TypeScript
import { Transporter } from './tokenOptions';
/**
* Revokes a given access token.
* @param accessToken The access token to revoke.
* @param transporter The transporter to make the request with.
* @returns A promise that resolves with the revocation response.
*/
declare function revokeToken(accessToken: string, transporter: Transporter): Promise<import("gaxios").GaxiosResponse<unknown>>;
export { revokeToken };