Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
<PrivacyBoostProvider config={{ appId: 'your-app-id', serverUrl: 'https://...', persistence: { storage: 'localStorage', unlock: 'pin', }, }} > <App /> </PrivacyBoostProvider>
clearSession()
logout()
import { useAuth } from '@sunnyside-io/privacy-boost-react'; function LogoutButtons() { const { clearSession, logout } = useAuth(); return ( <div> <button onClick={clearSession}>Switch Account</button> <button onClick={logout}>Full Logout</button> </div> ); }