download
raw
475 Bytes
import type { OAuth2Tokens } from "../oauth2.js";
export declare class Twitter {
private client;
constructor(clientId: string, clientSecret: string, redirectURI: string);
createAuthorizationURL(state: string, codeVerifier: string, scopes: string[]): URL;
validateAuthorizationCode(code: string, codeVerifier: string): Promise<OAuth2Tokens>;
refreshAccessToken(refreshToken: string): Promise<OAuth2Tokens>;
revokeToken(token: string): Promise<void>;
}

Xet Storage Details

Size:
475 Bytes
·
Xet hash:
e3bb0c1ed5c5d66cf88691aed06408e68f6c02c4112098fdbc26944963d0c9b7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.