Page MenuHomePhabricator

[identity] Get and verify initial device list from registration requests
ClosedPublic

Authored by bartek on May 17 2024, 12:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 5:07 PM
Unknown Object (File)
Sat, Nov 2, 12:54 AM
Unknown Object (File)
Mon, Oct 28, 9:10 AM
Unknown Object (File)
Wed, Oct 23, 5:14 AM
Unknown Object (File)
Wed, Oct 23, 12:45 AM
Unknown Object (File)
Mon, Oct 21, 3:42 PM
Unknown Object (File)
Mon, Oct 21, 7:48 AM
Unknown Object (File)
Wed, Oct 16, 8:42 PM
Subscribers

Details

Summary

Added some helper traits and implemented them for all request types that are registration-related (have initialDeviceList).
This is similiar to the existing DeviceKeyUploadData and DeviceKeyUploadActions which support common functionality for all request types that have device keys payload.

The trait provides a single function for extracting and verifying the initial device list. The construct_user_registration_info() calls it. The device list is then stored for further processing (next diff).

Depends on D12089

Test Plan

Tested in the next diff when all pieces are joined together.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable