Skip to Content
SdkReactInternalInterfacesDropboxAuthProviderProps

DropboxAuthProviderProps

Defined in: src/react/useDropboxAuth.ts:28 

Props for DropboxAuthProvider

Properties

apiClient?

optional apiClient: 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?

optional callbackPath: 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?

optional walletAddress: 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).

Last updated on