13 lines
335 B
TypeScript
13 lines
335 B
TypeScript
/**
|
|
* PKCE utilities using Web Crypto API.
|
|
* Works in both Node.js 20+ and browsers.
|
|
*/
|
|
/**
|
|
* Generate PKCE code verifier and challenge.
|
|
* Uses Web Crypto API for cross-platform compatibility.
|
|
*/
|
|
export declare function generatePKCE(): Promise<{
|
|
verifier: string;
|
|
challenge: string;
|
|
}>;
|
|
//# sourceMappingURL=pkce.d.ts.map
|