Module middleware

Source
Expand description

Set up actix_web to authenticate request in the middleware and insert UserInfo into the following ServiceRequest.

Functionsยง

validator
Validates JWTs in requests and sets user information as part of the request.