HomePhabricator
Diffusion Comm 39232bd23691

[lib][keyserver] Introduce `SIWEAuthRequest` and `siweAuthRequestInputValidator`

Description

[lib][keyserver] Introduce SIWEAuthRequest and siweAuthRequestInputValidator

Summary:
SIWEAuthRequest defines the interface of the siwe_auth endpoint. This interface is validated on the keyserver by siweAuthRequestInputValidator.

NOTE: D5603 included a source field in siweAuthRequestInputValidator, but I don't believe it's necessary or relevant.

Depends on D6024

Test Plan: Tested implicitly by subsequent diffs.

Reviewers: ashoat, tomek, kamil

Reviewed By: ashoat

Subscribers: kamil

Differential Revision: https://phab.comm.dev/D6025

Details

Provenance
atulAuthored on Dec 26 2022, 5:33 PM
Reviewer
ashoat
Differential Revision
D6025: [lib][keyserver] Introduce `SIWEAuthRequest` and `siweAuthRequestInputValidator`
Parents
rCOMM69d5979cfe05: [keyserver] Introduce basic scaffolding for `siwe_auth` endpoint
Branches
Loading...
Tags
Loading...