Skip to content

Hooks

React hooks for authentication, wallet management, and user state in React Native applications.

Core

HookDescription
useOpenfortSDK initialization state
useOpenfortClientDirect access to the Openfort client
useUserCurrent user and access token

Authentication

HookDescription
useEmailAuthEmail/password authentication
useOAuthOAuth provider authentication
useGuestAuthGuest authentication
useWalletAuthSIWE wallet authentication
useSignOutSign out and clear session

Wallets

HookDescription
useEmbeddedEthereumWalletEmbedded Ethereum wallet management
useEmbeddedSolanaWalletEmbedded Solana wallet management