createRestoreCredential

suspend fun User.createRestoreCredential(isCloudBackupEnabled: Boolean = true): ClerkResult<Unit, ClerkErrorResponse>

Creates a Google Play restore credential for this signed-in user.

Cloud backup is attempted by default and automatically falls back to device-to-device transfer when end-to-end encrypted cloud backup is unavailable.

Parameters

isCloudBackupEnabled

Whether to back up the restore credential to encrypted cloud backup.