@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.
12 lines (11 loc) • 351 B
TypeScript
export declare const toBase64: (value: string) => string;
export declare const base64ToString: (value: string) => string;
export declare const getSignatureCookieName: (name: string) => string;
export interface Cookie {
name: string;
value: string;
}
export interface SignCookieResult {
signedCookie: Cookie;
signatureCookie: Cookie;
}