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.
function useOAuthState(): { oauthState: | null | OAuthFlowState; };
{ oauthState: | null | OAuthFlowState; }
oauthState
null
OAuthFlowState
function OAuthStatus() { const { oauthState } = useOAuthState(); if (!oauthState) { return null; } return ( <div> <p>OAuth Status: {oauthState.status}</p> {oauthState.status === "error" && ( <p>Error: {oauthState.errorDescription}</p> )} </div> ); }
Was this page helpful?