Module auth

Source

Modules§

controller
oidc

Structs§

AccessTokenClaims
TODO: documentation
ApiDoc
Auth
roles and permissions available to a User
AuthConfig
AuthError
custom error type for Authorization related errors
AuthMessageResponse
structure to help utoipa know what responses that contain a message
AuthTokenResponse
structure to help utoipa know what responses that contain the access_token should look like
JwtSecurityAddon
PaginationParams
Rust struct that provides the information needed to allow pagination of results for requests that have a lot of results
Permission
Role
RolePermission
Rust struct modeling an entry in the role_permissions table
RolePermissionChangeset
Rust struct modeling mutable data in an entry in the role_permissions table
User
UserChangeset
UserPermission
Rust struct modeling an entry in the user_permissions table
UserPermissionChangeset
Rust struct modeling mutable data in an entry in the user_permissions table
UserSession
UserSessionChangeset
UserSessionJson
Rust struct representation of a entry from the databases user_session table serialized into Json
UserSessionResponse
Rust struct representation of the backends JSON response to a GET request at the /sessions endpoint

Functions§

endpoints
returns the endpoints for the Auth service