Mongo
jwtlib.models.mongo
Summary
Persistence-layer user model for MongoDB.
This module defines the internal database representation of a user. It is used exclusively by the repository and persistence layers and must never be exposed directly to consumers.
Public-facing user data is provided via dedicated projection models.
Classes
User
Bases: BaseDocument, IdentityMixin, ActiveStateMixin
Internal user persistence model.
Attributes:
| Name | Type | Description |
|---|---|---|
hashed_password |
str
|
Secure hash of the user's password. |
Notes
Responsibilities:
1 2 3 | |
Guarantees:
1 2 3 | |