UNPKG

payload-authjs

Version:

A Payload CMS 3 plugin for Auth.js 5

11 lines (10 loc) 454 B
import type { getProviderMetadata } from "../../authjs/utils/config.js"; export type AddAuthenticatorButtonProps = { provider: ReturnType<typeof getProviderMetadata>; }; /** * A button in the admin panel to add an authenticator using Auth.js * * @see https://authjs.dev/getting-started/authentication/webauthn */ export declare const AddAuthenticatorButton: ({ provider }: AddAuthenticatorButtonProps) => import("react").JSX.Element | undefined;