pub fn restore_sign_in(
store: StoreId,
code: &str,
) -> Result<Option<OAuthAccess>, CodeError>Expand description
The sign-in a restore of store in place from code needs, None on S3
and CloudKit, read before any sign-in: the app signs in with it, then
calls CovenBuilder::restore_device. Refuses the code as that call
would: WrongKind for an invite or pairing code, WrongStore for
another store’s restore code, Invalid for one that doesn’t decode.