Page MenuHomePhabricator

[identity] helper functions to interact with nonces table
ClosedPublic

Authored by varun on Aug 15 2023, 8:49 PM.
Tags
None
Referenced Files
F3351562: D8825.id29932.diff
Sat, Nov 23, 2:31 AM
F3350497: D8825.diff
Fri, Nov 22, 10:50 PM
Unknown Object (File)
Thu, Nov 21, 7:38 AM
Unknown Object (File)
Thu, Nov 21, 7:38 AM
Unknown Object (File)
Thu, Nov 21, 7:38 AM
Unknown Object (File)
Thu, Nov 21, 7:37 AM
Unknown Object (File)
Sun, Nov 3, 5:26 PM
Unknown Object (File)
Sat, Oct 26, 10:11 AM
Subscribers

Details

Summary

we need to be able to get and remove nonces from the nonces table.

Test Plan

added a nonce to the nonces table. then inspected it with the get method and deleted it with the remove method.

Diff Detail

Repository
rCOMM Comm
Branch
wallet_login (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Aug 15 2023, 9:07 PM
bartek added inline comments.
services/identity/src/database.rs
829

Nit: I consider impl Into<String> a bit more flexible ;)
Up to you

835

This is regarding above nit

840–843

Nit - we can do it this way too

This revision is now accepted and ready to land.Aug 16 2023, 5:26 AM