Files
docs/mcp/py-jwt/modules/jwtlib.models.common.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

85 lines
3.4 KiB
JSON

{
"module": "jwtlib.models.common",
"content": {
"path": "jwtlib.models.common",
"docstring": "# Summary\n\nCommon Pydantic mixins for authentication models.\n\nThis module provides reusable mixins for identity, password, and\naccount state. These mixes ensure consistency across internal\npersistence models and public-facing projection models.",
"objects": {
"BaseModel": {
"name": "BaseModel",
"kind": "alias",
"path": "jwtlib.models.common.BaseModel",
"signature": "<bound method Alias.signature of Alias('BaseModel', 'pydantic.BaseModel')>",
"docstring": null
},
"EmailStr": {
"name": "EmailStr",
"kind": "alias",
"path": "jwtlib.models.common.EmailStr",
"signature": "<bound method Alias.signature of Alias('EmailStr', 'pydantic.EmailStr')>",
"docstring": null
},
"Field": {
"name": "Field",
"kind": "alias",
"path": "jwtlib.models.common.Field",
"signature": "<bound method Alias.signature of Alias('Field', 'pydantic.Field')>",
"docstring": null
},
"IdentityMixin": {
"name": "IdentityMixin",
"kind": "class",
"path": "jwtlib.models.common.IdentityMixin",
"signature": "<bound method Class.signature of Class('IdentityMixin', 14, 37)>",
"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.common.IdentityMixin.username",
"signature": null,
"docstring": null
},
"email": {
"name": "email",
"kind": "attribute",
"path": "jwtlib.models.common.IdentityMixin.email",
"signature": null,
"docstring": null
}
}
},
"PasswordMixin": {
"name": "PasswordMixin",
"kind": "class",
"path": "jwtlib.models.common.PasswordMixin",
"signature": "<bound method Class.signature of Class('PasswordMixin', 40, 54)>",
"docstring": "Mixin for entities with a raw password field.\n\nAttributes:\n password (str):\n User password (minimum 6 characters).",
"members": {
"password": {
"name": "password",
"kind": "attribute",
"path": "jwtlib.models.common.PasswordMixin.password",
"signature": null,
"docstring": null
}
}
},
"ActiveStateMixin": {
"name": "ActiveStateMixin",
"kind": "class",
"path": "jwtlib.models.common.ActiveStateMixin",
"signature": "<bound method Class.signature of Class('ActiveStateMixin', 57, 71)>",
"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.common.ActiveStateMixin.is_active",
"signature": null,
"docstring": null
}
}
}
}
}
}