download
raw
473 Bytes
import type { OAuth2Tokens } from "../oauth2.js";
export declare class Polar {
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:
473 Bytes
·
Xet hash:
27cc2c3d1716014fc3cf965f1d6f7ffbc57aa3a9a62e5a54bd948db1f3359b52

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