download
raw
651 Bytes
import type { OAuth2Tokens } from "../oauth2.js";
export declare class AmazonCognito {
private authorizationEndpoint;
private tokenEndpoint;
private tokenRevocationEndpoint;
private clientId;
private clientSecret;
private redirectURI;
constructor(userPool: string, 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:
651 Bytes
·
Xet hash:
7bdc4198b11de6be69a5efdea2d242bd483eed9e28b2aea55b3fdbc82b2b102b

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