{
  "version": 3,
  "app": "fluyo",
  "doc": {
    "theme": "dark",
    "customBg": "",
    "cur": 0,
    "pages": [
      {
        "name": "OAuth 2.0",
        "nodes": [
          {
            "id": 1,
            "shape": "text",
            "x": 1280,
            "y": 300,
            "w": 660,
            "h": 40,
            "label": "Flujo de autenticación OAuth 2.0",
            "color": "#c16a6a",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 0,
            "fs": 30
          },
          {
            "id": 2,
            "shape": "icon",
            "x": 460,
            "y": 620,
            "w": 120,
            "h": 92,
            "label": "Usuario",
            "color": "#8f8f8f",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 1,
            "icon": "user"
          },
          {
            "id": 3,
            "shape": "icon",
            "x": 800,
            "y": 620,
            "w": 120,
            "h": 92,
            "label": "Aplicación cliente",
            "color": "#6a9fb5",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 2,
            "icon": "web"
          },
          {
            "id": 4,
            "shape": "icon",
            "x": 1180,
            "y": 460,
            "w": 120,
            "h": 92,
            "label": "Servidor de autorización",
            "color": "#c16a6a",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": true,
            "order": 3,
            "icon": "lock"
          },
          {
            "id": 5,
            "shape": "diamond",
            "x": 1180,
            "y": 700,
            "w": 190,
            "h": 120,
            "label": "¿Autoriza?",
            "color": "#c9b458",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 4
          },
          {
            "id": 6,
            "shape": "hex",
            "x": 1560,
            "y": 460,
            "w": 200,
            "h": 95,
            "label": "Access token\n+ refresh token",
            "color": "#c9b458",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 5
          },
          {
            "id": 7,
            "shape": "icon",
            "x": 1560,
            "y": 700,
            "w": 120,
            "h": 92,
            "label": "API protegida",
            "color": "#6a9fb5",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 6,
            "icon": "api"
          },
          {
            "id": 8,
            "shape": "anim",
            "x": 1560,
            "y": 900,
            "w": 120,
            "h": 100,
            "label": "Sesión activa",
            "color": "#7bb85b",
            "fill": null,
            "border": "solid",
            "lblPos": "center",
            "textBg": null,
            "font": null,
            "bold": false,
            "pulse": false,
            "order": 7,
            "anim": "check"
          }
        ],
        "edges": [
          {
            "id": 9,
            "from": 2,
            "to": 3,
            "fromSide": "e",
            "toSide": "w",
            "route": "ortho",
            "waypoints": [],
            "label": "1. iniciar sesión",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          },
          {
            "id": 10,
            "from": 3,
            "to": 4,
            "fromSide": "e",
            "toSide": "w",
            "route": "ortho",
            "waypoints": [],
            "label": "2. /authorize",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          },
          {
            "id": 11,
            "from": 4,
            "to": 5,
            "fromSide": "s",
            "toSide": "n",
            "route": "ortho",
            "waypoints": [],
            "label": "3. login",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          },
          {
            "id": 12,
            "from": 5,
            "to": 6,
            "fromSide": "e",
            "toSide": "s",
            "route": "ortho",
            "waypoints": [],
            "label": "4. code → token",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          },
          {
            "id": 13,
            "from": 6,
            "to": 7,
            "fromSide": "s",
            "toSide": "n",
            "route": "ortho",
            "waypoints": [],
            "label": "5. Bearer",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          },
          {
            "id": 14,
            "from": 7,
            "to": 8,
            "fromSide": "s",
            "toSide": "n",
            "route": "ortho",
            "waypoints": [],
            "label": "6. 200 OK",
            "font": null,
            "bold": false,
            "animated": true,
            "dashed": false,
            "startArrow": false,
            "endArrow": true,
            "flowDir": "normal"
          }
        ],
        "nextId": 15
      }
    ]
  },
  "settings": {
    "speed": 0.5,
    "dots": 3,
    "build": false,
    "stagger": 0.45,
    "grid": true,
    "snap": false,
    "font": "Georgia, serif"
  }
}