Modules§
Structs§
- Access
Token Claims - TODO: documentation
- ApiDoc
- Auth
- roles and permissions available to a User
- Auth
Config - Auth
Error - custom error type for Authorization related errors
- Auth
Message Response - structure to help utoipa know what responses that contain a message
- Auth
Token Response - structure to help utoipa know what responses that contain the
access_token
should look like - JwtSecurity
Addon - Pagination
Params - Rust struct that provides the information needed to allow pagination of results for requests that have a lot of results
- Permission
- Role
- Role
Permission - Rust struct modeling an entry in the
role_permissions
table - Role
Permission Changeset - Rust struct modeling mutable data in an entry in the
role_permissions
table - User
- User
Changeset - User
Permission - Rust struct modeling an entry in the
user_permissions
table - User
Permission Changeset - Rust struct modeling mutable data in an entry in the
user_permissions
table - User
Session - User
Session Changeset - User
Session Json - Rust struct representation of a entry from the databases
user_session
table serialized into Json - User
Session Response - 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