pub fn unlock_with_user_key(
token: &TokenResponse,
user_key: &str,
profile: &Profile,
) -> Result<Unlocked>Expand description
Unlock from a user key a client released through its platform authenticator, rather than one derived from the master password.
The key arrives base64, as the client’s enrolment wrapped it. Everything
after it is the same journey unlock makes: the account private key and
the organization keys unwrap from the same sync profile, and the
fingerprint is the wrapped user key’s, which is what proves the account’s
keys did not rotate while the session was open.