UNPKG

@better-auth-ui/core

Version:

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

25 lines (24 loc) 773 B
import { LastLoginMethodLocalization } from './last-login-method-localization'; export type LastLoginMethodPluginOptions = { /** * Override the plugin's default localization strings. * @remarks `LastLoginMethodLocalization` */ localization?: Partial<LastLoginMethodLocalization>; }; /** * Enables last-login-method indicators in supported authentication views. * * Pair this UI plugin with Better Auth's `lastLoginMethod()` server plugin * and `lastLoginMethodClient()` client plugin. */ export declare const lastLoginMethodPlugin: ((options?: LastLoginMethodPluginOptions | undefined) => { localization: { lastUsed: string; lastUsedShort: string; }; } & { id: "lastLoginMethod"; }) & { id: "lastLoginMethod"; };