download
raw
747 Bytes
import { OAuth2Tokens } from "./oauth2.js";
export declare function createOAuth2Request(endpoint: string, body: URLSearchParams): Request;
export declare function encodeBasicCredentials(username: string, password: string): string;
export declare function sendTokenRequest(request: Request): Promise<OAuth2Tokens>;
export declare function sendTokenRevocationRequest(request: Request): Promise<void>;
export declare class ArcticFetchError extends Error {
constructor(cause: unknown);
}
export declare class OAuth2RequestError extends Error {
code: string;
description: string | null;
uri: string | null;
state: string | null;
constructor(code: string, description: string | null, uri: string | null, state: string | null);
}

Xet Storage Details

Size:
747 Bytes
·
Xet hash:
bfb6685348d48503a17af019a6fba0162f8c13d06719fd89ba99c4160178bc43

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