DropboxAuthProviderProps
Defined in: src/react/useDropboxAuth.ts:28
Props for DropboxAuthProvider
Properties
apiClient?
optionalapiClient:Client
Defined in: src/react/useDropboxAuth.ts:37
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).
appKey
appKey:
string|undefined
Defined in: src/react/useDropboxAuth.ts:30
Dropbox App Key (from Dropbox Developer Console)
callbackPath?
optionalcallbackPath:string
Defined in: src/react/useDropboxAuth.ts:32
OAuth callback path (default: “/auth/dropbox/callback”)
children
children:
ReactNode
Defined in: src/react/useDropboxAuth.ts:45
Children to render
walletAddress?
optionalwalletAddress:string
Defined in: src/react/useDropboxAuth.ts:43
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).