Module auth

Source
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 insert UserInfo into the following ServiceRequest.
user_info
Contains UserInfo which stores information about the current user.

Structs§

Config
Contains information about the auth server.
OpenIDEndpointConfiguration
Metadata provided by the auth server.

Statics§

CONFIG 🔒
Stores the servers Config.