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)
Sun, Jun 23, 5:42 AM
Unknown Object (File)
Sun, Jun 23, 4:17 AM
Unknown Object (File)
Sun, Jun 23, 4:17 AM
Unknown Object (File)
Wed, Jun 19, 9:11 AM
Unknown Object (File)
Wed, Jun 19, 8:42 AM
Unknown Object (File)
Sun, Jun 16, 5:21 PM
Unknown Object (File)
Sat, Jun 15, 12:01 AM
Unknown Object (File)
Fri, Jun 14, 7:28 AM
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