Skip to Content

BackupAuthProvider

BackupAuthProvider(__namedParameters: BackupAuthProviderProps): Element

Defined in: src/react/useBackupAuth.ts:95 

Provider component for backup authentication.

Wrap your app with this provider to enable iCloud backup authentication.

Parameters

ParameterType

__namedParameters

BackupAuthProviderProps

Returns

Element

Example

import { BackupAuthProvider } from "@anuma/sdk/react"; function App() { return ( <BackupAuthProvider icloudApiToken={process.env.NEXT_PUBLIC_CLOUDKIT_API_TOKEN} icloudContainerIdentifier="iCloud.Memoryless" > <MyApp /> </BackupAuthProvider> ); }
Last updated on