Skip to main content

Module restoration

Module restoration 

Source

Structs§

ActivatedContinuation
Exact durable state required to continue an activated Store device.
OwnerRecoveryAuthority
Exact Owner grant and recovery-stream authority used to create a replacement device when no activated device continuation survives.
RestoreCode
Everything needed to restore a store from cloud storage.
RestoreCodeInfo
UI-ready info from a decoded restore code.
RestoreSource
Cloud provider source for restore: the join info a restore code carries plus the extras it can’t (RestoreCode omits OAuth tokens because they expire — the user re-authenticates on restore — and holds no live CloudKit driver).

Enums§

RestoreAuthority
The closed authority a restore operation may exercise.
RestoreCodeError

Constants§

RESTORE_CODE_VERSION

Functions§

decode_restore_code
Decode a restore code string back into a RestoreCode.
decode_restore_code_info
Decode a restore code and return UI-ready info.
encode_restore_code
Encode a RestoreCode into a prefixed base64url string.
restore_from_cloud
Restore a store from cloud storage.
restore_from_code
Restore a store from a restore code string.