Page MenuHomePhabricator

[identity] Implement LogInExistingDevice RPC
ClosedPublic

Authored by bartek on Mar 28 2024, 10:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 10:56 PM
Unknown Object (File)
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
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
No Lint Coverage
Unit
No Test Coverage

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