HomePhabricator
Diffusion Comm 231725810f64

[commtest] Add functions to login/logout existing username

Description

[commtest] Add functions to login/logout existing username

Summary:
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

Test Plan:
Commtest builds, CI passes.
Functions' logic tested in the next diff.

Reviewers: kamil, michal, varun

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10421

Details

Provenance
bartekAuthored on Dec 21 2023, 1:59 AM
Reviewer
kamil
Differential Revision
D10421: [commtest] Add functions to login/logout existing username
Parents
rCOMM7f5669d78e98: [commtest] Rename create_device to register_user_device
Branches
Unknown
Tags
Unknown