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
F2189752: D6085.diff
Thu, Jul 4, 10:59 AM
F2189366: D6085.diff
Thu, Jul 4, 10:37 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Unknown Object (File)
Wed, Jun 26, 12:41 AM
Unknown Object (File)
Wed, Jun 26, 12:40 AM
Unknown Object (File)
Wed, Jun 26, 12:35 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.