Files
docs/mcp/py-jwt/modules/jwtlib.models.mongo.json
Vishesh 'ironeagle' Bangotra 0c25cbb19f feat: unify docs portal and MCP servers into one config-driven service
- add config.yml as single source of truth for collected repos/categories
- add collect.py CLI to pull lib/api/wiki site builds and mcp bundles from
  source repos and regenerate nginx.conf + _index/index.html
- port mcp runtime (main.py/core.py/config.py): nginx + health + FastMCP
  servers started from config.yml
- docker: python:3.13-slim + nginx, expose 8000-8006 + 9000 (html portal)
- drone: publish html (6007:9000) and MCP ports 8000-8006
- move mongo-ops docs to wiki/, add auth-server (api) and hexa (lib)
- refresh lib site builds (lib/ prefix) and collect mcp bundles
2026-09-11 15:14:51 +05:30

71 lines
3.7 KiB
JSON

{
"module": "jwtlib.models.mongo",
"content": {
"path": "jwtlib.models.mongo",
"docstring": "# Summary\n\nPersistence-layer user model for MongoDB.\n\nThis module defines the internal database representation of a user.\nIt is used exclusively by the repository and persistence layers and\nmust never be exposed directly to consumers.\n\nPublic-facing user data is provided via dedicated projection models.",
"objects": {
"BaseDocument": {
"name": "BaseDocument",
"kind": "alias",
"path": "jwtlib.models.mongo.BaseDocument",
"signature": "<bound method Alias.signature of Alias('BaseDocument', 'mongo_ops.BaseDocument')>",
"docstring": null
},
"ActiveStateMixin": {
"name": "ActiveStateMixin",
"kind": "class",
"path": "jwtlib.models.mongo.ActiveStateMixin",
"signature": "<bound method Alias.signature of Alias('ActiveStateMixin', 'jwtlib.models.common.ActiveStateMixin')>",
"docstring": "Mixin for entities with an active status flag.\n\nAttributes:\n is_active (bool):\n Indicates whether the account is active and allowed to\n authenticate.",
"members": {
"is_active": {
"name": "is_active",
"kind": "attribute",
"path": "jwtlib.models.mongo.ActiveStateMixin.is_active",
"signature": "<bound method Alias.signature of Alias('is_active', 'jwtlib.models.common.ActiveStateMixin.is_active')>",
"docstring": null
}
}
},
"IdentityMixin": {
"name": "IdentityMixin",
"kind": "class",
"path": "jwtlib.models.mongo.IdentityMixin",
"signature": "<bound method Alias.signature of Alias('IdentityMixin', 'jwtlib.models.common.IdentityMixin')>",
"docstring": "Mixin for entities with a username and email.\n\nAttributes:\n username (str):\n Unique username used for authentication and display.\n email (Optional[EmailStr]):\n Primary email address associated with the account.",
"members": {
"username": {
"name": "username",
"kind": "attribute",
"path": "jwtlib.models.mongo.IdentityMixin.username",
"signature": "<bound method Alias.signature of Alias('username', 'jwtlib.models.common.IdentityMixin.username')>",
"docstring": null
},
"email": {
"name": "email",
"kind": "attribute",
"path": "jwtlib.models.mongo.IdentityMixin.email",
"signature": "<bound method Alias.signature of Alias('email', 'jwtlib.models.common.IdentityMixin.email')>",
"docstring": null
}
}
},
"User": {
"name": "User",
"kind": "class",
"path": "jwtlib.models.mongo.User",
"signature": "<bound method Class.signature of Class('User', 18, 40)>",
"docstring": "Internal user persistence model.\n\nAttributes:\n hashed_password (str):\n Secure hash of the user's password.\n\nNotes:\n **Responsibilities:**\n\n - Represents a user record as stored in the database. Includes\n sensitive fields and is strictly confined to the persistence\n layer.\n\n **Guarantees:**\n\n - This model MUST NOT be returned from authentication APIs.\n Consumers should use `PublicUser` instead. Password verification\n is handled by the repository layer.",
"members": {
"hashed_password": {
"name": "hashed_password",
"kind": "attribute",
"path": "jwtlib.models.mongo.User.hashed_password",
"signature": null,
"docstring": null
}
}
}
}
}
}