UNPKG

payload-auth-plugin-fix

Version:
21 lines 654 B
import type { Plugin } from "payload"; import { ProvidersConfig, AccountInfo } from "../types.js"; interface PluginOptions { enabled?: boolean; providers: ProvidersConfig[]; accounts?: { slug?: string | undefined; hidden?: boolean | undefined; }; successPath?: string; allowSignUp?: boolean; redirectFunctions?: { [key: string]: (redirect_context: string, accountInfo: AccountInfo) => Promise<{ success: boolean; redirect: string; }>; }; } export declare const adminAuthPlugin: (pluginOptions: PluginOptions) => Plugin; export {}; //# sourceMappingURL=admin.d.ts.map