Changeset View
Changeset View
Standalone View
Standalone View
keyserver/addons/rust-node-addon/src/identity_client/login.rs
Show All 40 Lines | device_key_upload: Some(DeviceKeyUpload { | ||||
content_upload: Some(PreKey { | content_upload: Some(PreKey { | ||||
pre_key: content_prekey, | pre_key: content_prekey, | ||||
pre_key_signature: content_prekey_signature, | pre_key_signature: content_prekey_signature, | ||||
}), | }), | ||||
notif_upload: Some(PreKey { | notif_upload: Some(PreKey { | ||||
pre_key: notif_prekey, | pre_key: notif_prekey, | ||||
pre_key_signature: notif_prekey_signature, | pre_key_signature: notif_prekey_signature, | ||||
}), | }), | ||||
onetime_content_prekeys: content_one_time_keys, | one_time_content_prekeys: content_one_time_keys, | ||||
onetime_notif_prekeys: notif_one_time_keys, | one_time_notif_prekeys: notif_one_time_keys, | ||||
device_type: DeviceType::Keyserver.into(), | device_type: DeviceType::Keyserver.into(), | ||||
}), | }), | ||||
}; | }; | ||||
debug!("Starting login to identity service"); | debug!("Starting login to identity service"); | ||||
let login_start_response = identity_client | let login_start_response = identity_client | ||||
.login_password_user_start(login_start_request) | .login_password_user_start(login_start_request) | ||||
.await | .await | ||||
Show All 27 Lines |