@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
19 lines (18 loc) • 876 B
TypeScript
/**
* Mutation keys contributed by the phone-number plugin.
*
* Both sign-in strategies share the built-in sign-in namespace so callers can
* observe every active sign-in request with `["auth", "signIn"]`.
*/
export declare const phoneNumberMutationKeys: {
/** Key for password-based `signIn.phoneNumber`. */
readonly signIn: readonly ["auth", "signIn", "phoneNumber"];
/** Key for `phoneNumber.sendOtp`. */
readonly sendOtp: readonly ["auth", "phoneNumber", "sendOtp"];
/** Key for `phoneNumber.verify`. */
readonly verify: readonly ["auth", "phoneNumber", "verify"];
/** Key for `phoneNumber.requestPasswordReset`. */
readonly requestPasswordReset: readonly ["auth", "phoneNumber", "requestPasswordReset"];
/** Key for `phoneNumber.resetPassword`. */
readonly resetPassword: readonly ["auth", "phoneNumber", "resetPassword"];
};