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

Xet Storage Details

Size:
480 Bytes
·
Xet hash:
a328d683aac65f1f7e935d0d9193c0ae781450849559ba3c520247fff3478f76

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