Page MenuHomePhabricator

[identity] Implement LogInExistingDevice RPC
ClosedPublic

Authored by bartek on Mar 28 2024, 10:45 PM.
Tags
None
Referenced Files
F3491702: D11466.diff
Wed, Dec 18, 7:59 PM
Unknown Object (File)
Mon, Dec 16, 9:38 AM
Unknown Object (File)
Fri, Nov 29, 9:29 AM
Unknown Object (File)
Nov 13 2024, 5:28 AM
Unknown Object (File)
Nov 12 2024, 10:08 PM
Unknown Object (File)
Oct 18 2024, 6:26 PM
Unknown Object (File)
Oct 18 2024, 6:26 PM
Unknown Object (File)
Oct 18 2024, 6:23 PM
Subscribers

Details

Summary

Implementation of the LogInExistingDevice RPC. Its purpose is to:

  • verify nonce challenge
  • check if device being logged in is on the device list
  • generate access token for the device

Depends on D11465

Test Plan
  1. Registered a device - received a CSAT (1)
  2. Called the LogInExistingDevice RPC - Received a CSAT (2)
  3. Called VerifyUserAccessToken RPC for both CSATs - (2) is valid, (1) is no longer valid

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Mar 29 2024, 12:11 AM
This revision is now accepted and ready to land.Apr 1 2024, 9:28 PM