{
  "id": "auth-token-comparison",
  "chapter": "identity-access-and-auth",
  "batch": "01",
  "rank": 3,
  "sourcePage": 26,
  "sourcePointer": "p. 26",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "semantic redraw",
      "preserve major box and arrow meaning",
      "do not copy original pixels or wording"
    ],
    "publicBoundary": [
      "original vector output",
      "short generic labels only",
      "source renders remain ignored"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: Authentication",
      "concept: Session",
      "concept: Cookie",
      "concept: JWT",
      "concept: Landscape"
    ],
    "labelSource": "source-summary",
    "semanticStatus": "reviewed"
  },
  "title": "Authentication State Options",
  "groups": [
    {
      "id": "basics",
      "label": "Identity question",
      "x": 48,
      "y": 108,
      "w": 182,
      "h": 332
    },
    {
      "id": "stateful",
      "label": "Server-side state",
      "x": 270,
      "y": 108,
      "w": 260,
      "h": 332
    },
    {
      "id": "tokens",
      "label": "Signed token state",
      "x": 570,
      "y": 108,
      "w": 338,
      "h": 332
    }
  ],
  "shapes": [
    {
      "id": "identity",
      "kind": "actor",
      "label": "Who are you",
      "x": 94,
      "y": 208,
      "w": 86,
      "h": 92,
      "tone": "blue"
    },
    {
      "id": "cookie",
      "kind": "rect",
      "label": "Cookie",
      "detail": "client key",
      "x": 306,
      "y": 166,
      "w": 116,
      "h": 62,
      "tone": "blue"
    },
    {
      "id": "session",
      "kind": "cylinder",
      "label": "Session",
      "detail": "server record",
      "x": 386,
      "y": 296,
      "w": 116,
      "h": 76,
      "tone": "green"
    },
    {
      "id": "jwt",
      "kind": "rect",
      "label": "JWT",
      "detail": "claims signed",
      "x": 610,
      "y": 166,
      "w": 116,
      "h": 62,
      "tone": "orange"
    },
    {
      "id": "paseto",
      "kind": "rect",
      "label": "PASETO",
      "detail": "safe token",
      "x": 764,
      "y": 166,
      "w": 116,
      "h": 62,
      "tone": "purple"
    },
    {
      "id": "revocation",
      "kind": "diamond",
      "label": "Revocation",
      "detail": "tradeoff",
      "x": 674,
      "y": 302,
      "w": 134,
      "h": 86,
      "tone": "red"
    }
  ],
  "connectors": [
    {
      "from": "identity",
      "to": "cookie",
      "label": "login",
      "flow": "main"
    },
    {
      "from": "cookie",
      "to": "session",
      "label": "lookup",
      "flow": "data"
    },
    {
      "from": "identity",
      "to": "jwt",
      "label": "issue",
      "flow": "main"
    },
    {
      "from": "identity",
      "to": "paseto",
      "label": "issue",
      "flow": "main"
    },
    {
      "from": "jwt",
      "to": "revocation",
      "label": "stateless",
      "flow": "control"
    },
    {
      "from": "paseto",
      "to": "revocation",
      "label": "claims",
      "flow": "control"
    },
    {
      "from": "session",
      "to": "revocation",
      "label": "server kill",
      "flow": "data"
    }
  ]
}
