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 insertUserInfointo the following [ServiceRequest]. - user_
info - Contains
UserInfowhich stores information about the current user.
Structs§
- Config
- Contains information about the auth server.
- OpenID
Endpoint Configuration - Metadata provided by the auth server.