Page MenuHomePhabricator

[lib] Modify `siweAuth(...)` return type from `LogInResponse` to `LogInResult`
ClosedPublic

Authored by atul on Dec 29 2022, 1:23 AM.
Tags
None
Referenced Files
F2211318: D6085.id20295.diff
Mon, Jul 8, 1:51 AM
F2211276: D6085.diff
Mon, Jul 8, 1:41 AM
F2207604: D6085.id20397.diff
Sun, Jul 7, 8:45 AM
Unknown Object (File)
Sat, Jul 6, 11:57 PM
Unknown Object (File)
Thu, Jul 4, 10:59 AM
Unknown Object (File)
Thu, Jul 4, 10:37 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Subscribers
None

Details

Summary

We construct LogInResult using the request payload (SIWEAuthServerCall) and the respond (LogInResponse). Code was effectively cut/paste from lib/actions/user-actions:logIn.


Depends on D6077

Test Plan

Will be tested implicitly by subsequent diffs.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D6085 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Dec 29 2022, 1:36 AM
tomek added inline comments.
lib/actions/siwe-actions.js
4–5 ↗(On Diff #20295)

We can merge these imports

This revision is now accepted and ready to land.Dec 29 2022, 4:24 AM
lib/actions/siwe-actions.js
4–5 ↗(On Diff #20295)

Thanks for catching that!

This revision was landed with ongoing or failed builds.Dec 29 2022, 2:07 PM
This revision was automatically updated to reflect the committed changes.