Files
docs/mcp/py-jwt/modules/jwtlib.models.common.json
Vishesh 'ironeagle' Bangotra b3b1c3404b feat: collect py-jwt wiki; register wiki kind; refresh lib and mcp artifacts
Adds the py-jwt wiki to the hub alongside lib and mcp and picks up
the regenerated flat lib reference and standardized MCP modules.
2026-09-16 20:08:15 +05:30

64 lines
2.5 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": {
"IdentityMixin": {
"name": "IdentityMixin",
"kind": "class",
"path": "jwtlib.models.common.IdentityMixin",
"signature": null,
"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": null,
"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": null,
"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
}
}
}
}
}
}