SudoSOS Back-end API / internal/middleware / RequestWithToken
Interface: RequestWithToken ​
Extend the Express request interface with a token property, which will be filled by this middleware.
Extends ​
Properties ​
rawBody ​
ts
rawBody: Buffer;Inherited from ​
token ​
ts
token: JsonWebToken;The parsed JWT in the request header.