Skip to content

Documentation / react-auth / usePrivy

Function: usePrivy()

usePrivy(): PrivyInterface

React Hook that allows you to manage the user's current authentication state and access their linked accounts.

You should use this hook to access the Privy SDK from within your React components and custom hooks.

Returns

PrivyInterface