authvisage-sdk
Version:
authvisage client sdk
22 lines • 543 B
TypeScript
/**
* PKCE Challenge Pair structure
*/
interface PKCEPair {
codeVerifier: string;
codeChallenge: string;
}
/**
* Utility class for handling PKCE authentication
*/
export declare class PKCEHandler {
private static readonly PKCE_STORAGE_KEY;
/**
* Generates a PKCE challenge pair
*/
private static _sha256Base64UrlEncode;
private static _storeCodeVerifier;
static getCodeVerifier(): Promise<string | null>;
static generate(): Promise<PKCEPair>;
}
export {};
//# sourceMappingURL=pkceHandler.d.ts.map