UNPKG

@better-auth-ui/core

Version:

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

86 lines (85 loc) 3.58 kB
export declare const twoFactorLocalization: { /** @remarks `"Two-Factor Authentication"` */ twoFactor: string; /** @remarks `"Add a second step to sign-in so a stolen password isn't enough"` */ twoFactorDescription: string; /** @remarks `"Enable two-factor"` */ enableTwoFactor: string; /** @remarks `"Disable two-factor"` */ disableTwoFactor: string; /** @remarks `"Two-factor authentication is on"` */ twoFactorEnabled: string; /** @remarks `"Two-factor authentication is off"` */ twoFactorDisabled: string; /** @remarks `"Enter your password to continue"` */ passwordConfirmation: string; /** @remarks `"Choose how you want to verify future sign-ins"` */ chooseEnrollmentMethod: string; /** @remarks `"Authenticator app"` */ authenticatorApp: string; /** @remarks `"Use a rotating code from an authenticator app"` */ authenticatorAppDescription: string; /** @remarks `"Email or SMS code"` */ deliveredCode: string; /** @remarks `"Receive a new code each time you sign in"` */ deliveredCodeDescription: string; /** @remarks `"Scan this with your authenticator app"` */ scanQrCode: string; /** @remarks `"Can't scan? Enter this setup key instead"` */ setupKey: string; /** @remarks `"Setup key copied"` */ setupKeyCopied: string; /** @remarks `"Couldn't copy the setup key. Select and copy it manually."` */ setupKeyCopyFailed: string; /** @remarks `"Authenticator code"` */ authenticatorCode: string; /** @remarks `"Enter the code from your authenticator app"` */ authenticatorCodeDescription: string; /** @remarks `"Emailed code"` */ emailedCode: string; /** @remarks `"We emailed you a code. Enter it to finish signing in"` */ emailedCodeDescription: string; /** @remarks `"Email me a code"` */ sendEmailCode: string; /** @remarks `"Backup code"` */ backupCode: string; /** @remarks `"Enter one of the backup codes you saved"` */ backupCodeDescription: string; /** @remarks `"Backup codes"` */ backupCodes: string; /** @remarks `"Backup codes for {{website}}"` */ backupCodesForWebsite: string; /** @remarks `"Save these somewhere safe. Each code works once if you lose your authenticator."` */ backupCodesDescription: string; /** @remarks `"Backup codes copied"` */ backupCodesCopied: string; /** @remarks `"Couldn't copy the backup codes. Select and copy them manually."` */ backupCodesCopyFailed: string; /** @remarks `"Download .txt"` */ downloadBackupCodes: string; /** @remarks `"Print"` */ printBackupCodes: string; /** @remarks `"Regenerate backup codes"` */ regenerateBackupCodes: string; /** @remarks `"New backup codes generated. The old ones no longer work."` */ backupCodesRegenerated: string; /** @remarks `"Use your authenticator app"` */ useAuthenticator: string; /** @remarks `"Use an emailed code"` */ useEmailedCode: string; /** @remarks `"Use a backup code"` */ useBackupCode: string; /** @remarks `"Trust this device"` */ trustDevice: string; /** @remarks `"Skip the second step on this device from now on"` */ trustDeviceDescription: string; /** @remarks `"Verify"` */ verify: string; /** @remarks `"Enter the {{length}}-digit code"` */ codeLengthMismatch: string; /** @remarks `"Back to sign in"` */ backToSignIn: string; /** @remarks `"Done"` */ done: string; }; export type TwoFactorLocalization = typeof twoFactorLocalization;