This callback will be called after the user successfully authenticates.
<DynamicContextProvider settings={{ eventsCallbacks: { onAuthSuccess: (args) => { console.log('onAuthSuccess was called', args); } } }} > {/* ... rest of your app ... */} </DynamicContextProvider>
{ authToken: string; handleLogOut: () => Promise<void>; isAuthenticated: boolean; user: UserProfile; walletConnector: WalletConnector; }
For details about UserProfile, see here
For details about WalletConnector, see here
Was this page helpful?