GoogleDriveAuthProviderProps
Defined in: src/react/useGoogleDriveAuth.ts:30
Props for GoogleDriveAuthProvider
Properties
apiClient?
optionalapiClient:Client
Defined in: src/react/useGoogleDriveAuth.ts:39
API client for backend OAuth requests. Optional - uses the default SDK client if not provided. Only needed if you have a custom client configuration (e.g., different baseUrl).
callbackPath?
optionalcallbackPath:string
Defined in: src/react/useGoogleDriveAuth.ts:34
OAuth callback path (default: “/auth/google/callback”)
children
children:
ReactNode
Defined in: src/react/useGoogleDriveAuth.ts:47
Children to render
clientId
clientId:
string|undefined
Defined in: src/react/useGoogleDriveAuth.ts:32
Google OAuth Client ID (from Google Cloud Console)
walletAddress?
optionalwalletAddress:string
Defined in: src/react/useGoogleDriveAuth.ts:45
Wallet address for encrypting OAuth tokens at rest. If provided, tokens will be encrypted before storing in localStorage. If omitted, tokens are stored temporarily in sessionStorage (cleared on page close).