UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

24 lines (23 loc) 684 B
import { AnonymousLocalization } from './anonymous-localization'; export type AnonymousPluginOptions = { /** * Override the plugin's default localization strings. * @remarks `AnonymousLocalization` */ localization?: Partial<AnonymousLocalization>; }; /** * Adds a localized anonymous sign-in action to supported authentication UIs. * * Pair this UI plugin with Better Auth's `anonymous()` server plugin and * `anonymousClient()` client plugin. */ export declare const anonymousPlugin: ((options?: AnonymousPluginOptions | undefined) => { localization: { continueAsGuest: string; }; } & { id: "anonymous"; }) & { id: "anonymous"; };