@pedwise/next-firebase-auth-edge
Version:
Next.js 13 Firebase Authentication for Edge and server runtimes. Dedicated for Next 13 server components. Compatible with Next.js middleware.
11 lines (10 loc) • 398 B
TypeScript
interface VerifyOptions {
complete?: boolean;
clockTimestamp?: number;
nonce?: string;
readonly format: "spki";
readonly algorithm: "RS256";
}
export declare function getPublicCryptoKey(publicKey: string, options: VerifyOptions): Promise<CryptoKey>;
export declare function verify(jwtString: string, secretOrPublicKey: string, options?: VerifyOptions): Promise<any>;
export {};