src/browser
Browser-only Better Auth client shared by React and the hosted tunnel login.
The operation helpers own both network cancellation and the active WebAuthn ceremony. Each operation carries an identity token so cleanup from an older React effect cannot cancel a newer manual attempt.
Interfaces
Section titled “Interfaces”Type Aliases
Section titled “Type Aliases”Functions
Section titled “Functions”- addPasskey
- beginPasskeyEnrollment
- beginPasskeySignIn
- cancelPasskeyOperation
- getAuthStatus
- listPasskeys
- logout
- removePasskey
- renamePasskey
- requestEmailOtp
- signInPasskey
- verifyEmailOtp
References
Section titled “References”AUTH_BASE_PATH
Section titled “AUTH_BASE_PATH”Re-exports AUTH_BASE_PATH