autumn-js
Version:
Autumn JS Library
14 lines (12 loc) • 400 B
text/typescript
interface AuthPluginOptions {
provider: "better-auth" | "supabase" | "clerk";
instance?: any;
useOrg?: boolean;
useUser?: boolean;
}
declare global {
var __autumnAuth: AuthPluginOptions;
}
declare const setupAuthPlugin: (options: AuthPluginOptions) => void;
declare const getAuthPlugin: () => AuthPluginOptions;
export { type AuthPluginOptions, getAuthPlugin, setupAuthPlugin };