React Native / Expo
Full reference for `@ackplus/nest-auth-react-native`.
@ackplus/nest-auth-react-native adds the two things React Native needs on top of the React SDK: native token storage and a header-mode client factory. The provider, hooks, and guards from @ackplus/nest-auth-react are re-exported and run unchanged on RN — their web-only paths are feature-detected. (Next.js helpers are intentionally not re-exported.)
A typical app creates one client with a storage adapter, wraps the tree in AuthProvider, and drives everything through the useNestAuth() hook.
In this section
- Getting started — install, backend header mode, storage adapters,
createNestAuthClient, and wrapping the app inAuthProvider. - Authentication — signup, email/password login, passwordless, social login, logout, password reset, email & phone verification, and changing the password.
- MFA & tenancy — two-factor login, TOTP setup, MFA status and recovery codes, and switching tenants.
- Hooks & guards — the full hook list, conditional-render guards, and
useAuthHeaderFnfor calling your own API.