mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-05 03:37:41 +01:00
9 lines
477 B
TypeScript
9 lines
477 B
TypeScript
import { twoFactor } from "better-auth/plugins";
|
|
/** Resolve only app-local challenge UI and return URLs; never carry bearer values. */
|
|
export declare function factorDestination(origin: string, screen: unknown, next: unknown): string;
|
|
/** Reuse BetterAuth's challenge/trusted-device policy for every primary method. */
|
|
export declare function factorForAllMethods(site: {
|
|
title: string;
|
|
url: string;
|
|
}): ReturnType<typeof twoFactor>;
|
|
//# sourceMappingURL=factor.d.ts.map
|