- collect.py copies each repo's built site contents directly to a top-level <repo>/ dir (was libs|apis|wiki/<repo>/site nesting) - nginx uses `index index.html lib/index.html api/index.html` so /dagpipe/ -> lib/index.html, /auth-server/ -> api/index.html are served internally with no redirects - _index regenerates links against the flat layout (/dagpipe/lib/, /auth-server/api/, /mongo-ops/, /blog/...) - config.yml static entries point at vendored blog/ + media-manager/ - Dockerfile copies per-repo dirs flat into the nginx html root - removed stale libs/, apis/, wiki/, tutorials/ category trees
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."
|
|
}
|
|
}
|
|
}
|
|
} |