Decodificar JWT (sin verificar)
jwt-decodeDecodifica cabecera y payload de un JWT SIN verificar la firma (no confiar en los datos). Convierte exp/iat/nbf y, con as_of, indica si expiró. Cuándo: hay que leer, construir o revisar con exactitud una URL, una cabecera HTTP, un token, una versión, un rango de IP, un documento HTML o Markdown o un archivo para agentes. No para: comprobar sin conexión un JWT firmado con HMAC (jwt-verify-hmac). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Decodes a JWT header and payload WITHOUT verifying the signature, so the claims must not be trusted. Converts exp/iat/nbf to ISO dates and, given as_of, reports whether the token is expired or not yet valid. When: a URL, HTTP header, token, version string, IP range, HTML or Markdown document or agent-readiness file has to be parsed, built or checked exactly. [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Reference instant for expiry check (ISO 8601) (string; optional; up to 40 chars). | |
| token | Yes | JWT (string; required; up to 16384 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | ||
| header | No | ||
| expired | No | ||
| payload | No | ||
| verified | No | ||
| not_yet_valid | No | ||
| signature_present | No |