payload-authjs
Version:
A Payload CMS 3 plugin for Auth.js 5
11 lines (10 loc) • 451 B
TypeScript
import type { getProviderMetadata } from "../../authjs/utils/config";
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;