- 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
51 lines
3.4 KiB
JSON
51 lines
3.4 KiB
JSON
{
|
|
"module": "jwtlib.exceptions",
|
|
"content": {
|
|
"path": "jwtlib.exceptions",
|
|
"docstring": "# Summary\n\nAuthentication and authorization exceptions.\n\nThis module defines the exception hierarchy used throughout the\nauthentication library to represent authentication, authorization,\nand service-level failures.\n\nAll exceptions inherit from `AuthError`, allowing consumers to catch\nauthentication-related failures broadly or handle specific cases\nselectively.",
|
|
"objects": {
|
|
"AuthError": {
|
|
"name": "AuthError",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.AuthError",
|
|
"signature": "<bound method Class.signature of Class('AuthError', 20, 31)>",
|
|
"docstring": "Base authentication and authorization error.\n\nNotes:\n **Guarantees:**\n\n - All authentication-related exceptions raised by this library\n inherit from this class.\n - Consumers may catch this exception to handle all auth failures\n uniformly."
|
|
},
|
|
"InvalidToken": {
|
|
"name": "InvalidToken",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.InvalidToken",
|
|
"signature": "<bound method Class.signature of Class('InvalidToken', 34, 43)>",
|
|
"docstring": "Raised when a `JWT` is missing, malformed, expired, or invalid.\n\nNotes:\n **Guarantees:**\n\n - This error indicates that the provided token cannot be used to\n authenticate a request."
|
|
},
|
|
"InvalidAuthorizationHeader": {
|
|
"name": "InvalidAuthorizationHeader",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.InvalidAuthorizationHeader",
|
|
"signature": "<bound method Class.signature of Class('InvalidAuthorizationHeader', 46, 56)>",
|
|
"docstring": "Raised when the `Authorization` header is missing or incorrectly\nformatted.\n\nNotes:\n **Guarantees:**\n\n - Indicates that the header is not present or does not follow the\n expected `Bearer <token>` format."
|
|
},
|
|
"UserNotFound": {
|
|
"name": "UserNotFound",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.UserNotFound",
|
|
"signature": "<bound method Class.signature of Class('UserNotFound', 59, 68)>",
|
|
"docstring": "Raised when a valid token does not map to an existing user.\n\nNotes:\n **Guarantees:**\n\n - Indicates that authentication succeeded at the token level, but\n the associated user record could not be resolved."
|
|
},
|
|
"AuthServiceUnavailable": {
|
|
"name": "AuthServiceUnavailable",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.AuthServiceUnavailable",
|
|
"signature": "<bound method Class.signature of Class('AuthServiceUnavailable', 71, 80)>",
|
|
"docstring": "Raised when the authentication service cannot be reached.\n\nNotes:\n **Guarantees:**\n\n - Indicates a network failure, timeout, or unexpected error while\n communicating with the auth service."
|
|
},
|
|
"NotAuthenticated": {
|
|
"name": "NotAuthenticated",
|
|
"kind": "class",
|
|
"path": "jwtlib.exceptions.NotAuthenticated",
|
|
"signature": "<bound method Class.signature of Class('NotAuthenticated', 83, 92)>",
|
|
"docstring": "Raised when authentication is required but no user context is present.\n\nNotes:\n **Guarantees:**\n\n - Typically used when attempting to access a protected operation\n without an authenticated user."
|
|
}
|
|
}
|
|
}
|
|
} |