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)
Mon, Dec 23, 2:10 PM
Unknown Object (File)
Mon, Dec 23, 2:10 PM
Unknown Object (File)
Mon, Dec 23, 2:09 PM
Unknown Object (File)
Mon, Dec 23, 2:09 PM
Unknown Object (File)
Nov 24 2024, 11:00 PM
Unknown Object (File)
Nov 24 2024, 2:45 PM
Unknown Object (File)
Nov 24 2024, 9:48 AM
Unknown Object (File)
Nov 23 2024, 4:40 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