The register_user_device (formerly create_device()) always registers a new user.
To manage device list, we need functions to login/logout devices of existing user.
Created functions that call Login and Logout identity RPCs.
Depends on D10420
Paths
| Differential D10421 Authored by bartek on Dec 21 2023, 2:12 AM.
Tags None Referenced Files
Details Summary The register_user_device (formerly create_device()) always registers a new user. Depends on D10420 Test Plan Commtest builds, CI passes.
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptDec 21 2023, 2:12 AM2023-12-21 02:12:18 (UTC-8) Harbormaster completed remote builds in B25262: Diff 34895.Dec 21 2023, 3:21 AM2023-12-21 03:21:29 (UTC-8) Comment Actions Looks exactly like the implementation from native_rust_library which works, LGTM
This revision is now accepted and ready to land.Jan 5 2024, 1:54 AM2024-01-05 01:54:55 (UTC-8) Harbormaster completed remote builds in B25630: Diff 35429.Jan 9 2024, 6:15 AM2024-01-09 06:15:23 (UTC-8) Closed by commit rCOMM231725810f64: [commtest] Add functions to login/logout existing username (authored by bartek). · Explain WhyJan 9 2024, 6:25 AM2024-01-09 06:25:18 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 35429 services/commtest/src/identity/device.rs
|