hop-along-polly / always-on

AlwaysON is the REST API that always responds with the EXACT response you want.
GNU General Public License v3.0
0 stars 0 forks source link

Standardize JWT Encoding/Decoding on Models #9

Open hop-along-polly opened 2 months ago

hop-along-polly commented 2 months ago

Context

The AlwaysOnRequest, AlwaysOnResponse, and AlwaysOnManifest classes do some sort of encoding a request/response to a JWT or decoding a JWT into a request or response. Right now the interfaces for these is rather hodge-podge and assumes a static Secret for encoding/decoding a JWT.

The Problem(s)

The current implementation of JWT encoding/decoding is not intuitive, and does not play well when working with lists of models.

Implementation Ideas

Acceptance Criteria