UNPKG

autumn-js

Version:

Autumn JS Library

45 lines (42 loc) 1.08 kB
import { AuthPluginOptions } from './authPlugin.mjs'; declare const handleBetterAuth: (options: AuthPluginOptions) => Promise<{ customerId: any; customerData: { name: any; email: any; }; } | null>; declare const handleClerk: ({ options, withCustomerData, }: { options: AuthPluginOptions; withCustomerData: boolean; }) => Promise<{ customerId: any; customerData: { name: any; email: any; }; } | { customerId: any; customerData?: undefined; } | null>; declare const handleSupabase: (options: AuthPluginOptions) => Promise<{ customerId: any; customerData: { name: any; email: any; }; } | null>; declare const handleAuthProvider: ({ authPlugin, withCustomerData, }: { authPlugin: AuthPluginOptions; withCustomerData: boolean; }) => Promise<{ customerId: any; customerData: { name: any; email: any; }; } | { customerId: any; customerData?: undefined; } | null>; export { handleAuthProvider, handleBetterAuth, handleClerk, handleSupabase };