Expand description
Handles authentication and authorization.
Modules§
- claims 🔒
- Responsible for parsing and validating JWT tokens.
- jwks
- Manages the
JwkSet
the server uses to validate tokens. - middleware
- Set up
actix_web
to authenticate request in the middleware and insertUserInfo
into the followingServiceRequest
. - user_
info - Contains
UserInfo
which stores information about the current user.
Structs§
- Config
- Contains information about the auth server.
- OpenID
Endpoint Configuration - Metadata provided by the auth server.