backend::config::auth

Module middleware

source
Expand description

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

Functionsยง

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