Changeset View
Changeset View
Standalone View
Standalone View
native/native_rust_library/src/identity_client.rs
use tonic::Status; | use tonic::Status; | ||||
use crate::IdentityClient; | use crate::IdentityClient; | ||||
pub async fn register_user( | |||||
mut _client: Box<IdentityClient>, | |||||
_username: String, | |||||
_password: String, | |||||
_key_payload: String, | |||||
_key_payload_signature: String, | |||||
_identity_prekey: String, | |||||
_identity_prekey_signature: String, | |||||
_notif_prekey: String, | |||||
_notif_prekey_signature: String, | |||||
_identity_onetime_keys: Vec<String>, | |||||
_notif_onetime_keys: Vec<String>, | |||||
) -> Result<String, Status> { | |||||
unimplemented!(); | |||||
} | |||||
// User could be logging in from new device, need to resend device information | // User could be logging in from new device, need to resend device information | ||||
pub async fn login_user_pake( | pub async fn login_user_pake( | ||||
mut _client: Box<IdentityClient>, | mut _client: Box<IdentityClient>, | ||||
_username: String, | _username: String, | ||||
_password: String, | _password: String, | ||||
_key_payload: String, | _key_payload: String, | ||||
_key_payload_signature: String, | _key_payload_signature: String, | ||||
_identity_prekey: String, | _identity_prekey: String, | ||||
Show All 24 Lines |