{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["tabs","tab","code-snippet","partial"]},"type":"markdown"},"seo":{"title":"Authentication and tokens"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"authentication-and-tokens","__idx":0},"children":["Authentication and tokens"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This page is for developers building an integration that calls VBAPI for longer than a single script run. It explains the login flow, the challenges login can return, how to send and reuse the ID token, and how to keep credentials safe."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"the-flow","__idx":1},"children":["The flow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["VBAPI uses two steps. You log in once with your username and password and receive tokens. You then send the ID token as a Bearer token on every other call until it expires."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    autonumber\n    participant C as Your integration\n    participant V as VBAPI\n    C->>V: POST /user-authentication<br/>Basic username:password, x-api-key,<br/>client ID, client code, database, User-Agent\n    alt Tokens returned\n        V-->>C: data.authenticationResult<br/>(idToken, accessToken, refreshToken, expiresIn)\n    else Challenge returned\n        V-->>C: data.challengeName and data.session\n        alt NEW_PASSWORD_REQUIRED\n            C->>V: POST /change-temporary-password<br/>(userID, newPassword, session)\n        else Multi-factor code required\n            C->>V: POST /mfa-submit-code<br/>(username, mfaCode, session)\n        end\n        V-->>C: authenticationResult, or another challenge\n    end\n    loop Until expiresIn runs out\n        C->>V: Any call with Authorization: Bearer idToken\n        V-->>C: Response\n    end\n    C->>V: Log in again (POST /user-authentication)<br/>or POST /user-refresh-tokens\n","diagramHtml":"<svg id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 662px;\" viewBox=\"-50 -10 662 942.1666666666667\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"412\" y=\"856.1666666666667\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"V\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"487\" y=\"888.6666666666667\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"487\" dy=\"0\">VBAPI</tspan></text></g><g><rect x=\"0\" y=\"856.1666666666667\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"C\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"888.6666666666667\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your integration</tspan></text></g><g><line id=\"actor1\" x1=\"487\" y1=\"65\" x2=\"487\" y2=\"856.1666666666667\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"V\" data-et=\"life-line\" data-id=\"V\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"V\"><rect x=\"412\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"V\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"487\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"487\" dy=\"0\">VBAPI</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"856.1666666666667\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"C\" data-et=\"life-line\" data-id=\"C\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"C\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"C\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your integration</tspan></text></g></g><style>#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .error-icon{fill:#552222;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .error-text{fill:#552222;stroke:#552222;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-thickness-normal{stroke-width:1px;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-thickness-thick{stroke-width:3.5px;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-pattern-solid{stroke-dasharray:0;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .marker{fill:#333333;stroke:#333333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .marker.cross{stroke:#333333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 p{margin:0;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .actor-line{stroke:#9370DB;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .sequenceNumber{fill:white;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .messageText{fill:#333;stroke:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .labelText,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .loopText,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .sectionTitle,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .noteText,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .actorPopupMenu{position:absolute;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .actor-man circle,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 line{fill:#ECECFF;stroke-width:2px;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 .node .neo-node{stroke:#9370DB;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node rect,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].cluster rect,#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"control-structure\" data-id=\"i10\"><line x1=\"64\" y1=\"354.1666666666667\" x2=\"498\" y2=\"354.1666666666667\" class=\"loopLine\"></line><line x1=\"498\" y1=\"354.1666666666667\" x2=\"498\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"570.6666666666667\" x2=\"498\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"354.1666666666667\" x2=\"64\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"468.1666666666667\" x2=\"498\" y2=\"468.1666666666667\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"64,354.1666666666667 114,354.1666666666667 114,367.1666666666667 105.6,374.1666666666667 64,374.1666666666667\" class=\"labelBox\"></polygon><text x=\"89\" y=\"367\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"306\" y=\"372\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[NEW_PASSWORD_REQUIRED]</tspan></text><text x=\"281\" y=\"486\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Multi-factor code required]</text></g><g data-et=\"control-structure\" data-id=\"i12\"><line x1=\"54\" y1=\"155.66666666666669\" x2=\"508\" y2=\"155.66666666666669\" class=\"loopLine\"></line><line x1=\"508\" y1=\"155.66666666666669\" x2=\"508\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"626.6666666666667\" x2=\"508\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"155.66666666666669\" x2=\"54\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"268.1666666666667\" x2=\"508\" y2=\"268.1666666666667\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"54,155.66666666666669 104,155.66666666666669 104,168.66666666666669 95.6,175.66666666666669 54,175.66666666666669\" class=\"labelBox\"></polygon><text x=\"79\" y=\"168\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"306\" y=\"173\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[Tokens returned]</tspan></text><text x=\"281\" y=\"286\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Challenge returned]</text></g><g data-et=\"control-structure\" data-id=\"i16\"><line x1=\"64\" y1=\"636.6666666666667\" x2=\"498\" y2=\"636.6666666666667\" class=\"loopLine\"></line><line x1=\"498\" y1=\"636.6666666666667\" x2=\"498\" y2=\"773.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"773.6666666666667\" x2=\"498\" y2=\"773.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"636.6666666666667\" x2=\"64\" y2=\"773.6666666666667\" class=\"loopLine\"></line><polygon points=\"64,636.6666666666667 114,636.6666666666667 114,649.6666666666667 105.6,656.6666666666667 64,656.6666666666667\" class=\"labelBox\"></polygon><text x=\"89\" y=\"649\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"306\" y=\"654\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[Until expiresIn runs out]</tspan></text></g><text x=\"280\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /user-authentication</text><text x=\"280\" y=\"97\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Basic username:password, x-api-key,</text><text x=\"280\" y=\"115\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">client ID, client code, database, User-Agent</text><line x1=\"82\" y1=\"145.66666666666669\" x2=\"483\" y2=\"145.66666666666669\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"145.66666666666669\" x2=\"75\" y2=\"145.66666666666669\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"75\" y=\"149.66666666666669\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"283\" y=\"206\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">data.authenticationResult</text><text x=\"283\" y=\"223\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(idToken, accessToken, refreshToken, expiresIn)</text><line x1=\"492\" y1=\"253.16666666666669\" x2=\"79\" y2=\"253.16666666666669\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"253.16666666666669\" x2=\"487\" y2=\"253.16666666666669\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"487\" y=\"257.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"283\" y=\"313\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">data.challengeName and data.session</text><line x1=\"492\" y1=\"344.1666666666667\" x2=\"79\" y2=\"344.1666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"344.1666666666667\" x2=\"487\" y2=\"344.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"487\" y=\"348.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"280\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /change-temporary-password</text><text x=\"280\" y=\"422\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(userID, newPassword, session)</text><line x1=\"82\" y1=\"453.1666666666667\" x2=\"483\" y2=\"453.1666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"453.1666666666667\" x2=\"75\" y2=\"453.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"75\" y=\"457.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"280\" y=\"513\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /mfa-submit-code</text><text x=\"280\" y=\"530\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(username, mfaCode, session)</text><line x1=\"82\" y1=\"560.6666666666667\" x2=\"483\" y2=\"560.6666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"560.6666666666667\" x2=\"75\" y2=\"560.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"75\" y=\"564.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"283\" y=\"586\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">authenticationResult, or another challenge</text><line x1=\"492\" y1=\"616.6666666666667\" x2=\"79\" y2=\"616.6666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i11\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"616.6666666666667\" x2=\"487\" y2=\"616.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"487\" y=\"620.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"280\" y=\"687\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Any call with Authorization: Bearer idToken</text><line x1=\"82\" y1=\"717.6666666666667\" x2=\"483\" y2=\"717.6666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i14\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"717.6666666666667\" x2=\"75\" y2=\"717.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"75\" y=\"721.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"283\" y=\"733\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Response</text><line x1=\"492\" y1=\"763.6666666666667\" x2=\"79\" y2=\"763.6666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i15\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"763.6666666666667\" x2=\"487\" y2=\"763.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"487\" y=\"767.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><text x=\"280\" y=\"789\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Log in again (POST /user-authentication)</text><text x=\"280\" y=\"807\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">or POST /user-refresh-tokens</text><line x1=\"82\" y1=\"836.1666666666667\" x2=\"483\" y2=\"836.1666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i17\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"836.1666666666667\" x2=\"75\" y2=\"836.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-af43d66be56dde6ea1a601c9b815c46a11e6665c648fe1c91decd0bd4d958987-sequencenumber)\"></line><text x=\"75\" y=\"840.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">9</text></svg>","diagramHtmlDark":"<svg id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 662px;\" viewBox=\"-50 -10 662 942.1666666666667\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><style>\n    #diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c foreignObject {\n      overflow: visible;\n    }\n  </style><g><rect x=\"412\" y=\"856.1666666666667\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"V\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"487\" y=\"888.6666666666667\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"487\" dy=\"0\">VBAPI</tspan></text></g><g><rect x=\"0\" y=\"856.1666666666667\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"C\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"888.6666666666667\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your integration</tspan></text></g><g><line id=\"actor1\" x1=\"487\" y1=\"65\" x2=\"487\" y2=\"856.1666666666667\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"V\" data-et=\"life-line\" data-id=\"V\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"V\"><rect x=\"412\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"V\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"487\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"487\" dy=\"0\">VBAPI</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"856.1666666666667\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"C\" data-et=\"life-line\" data-id=\"C\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"C\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"C\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your integration</tspan></text></g></g><style>#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .error-icon{fill:#a44141;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .error-text{fill:#ddd;stroke:#ddd;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-thickness-normal{stroke-width:1px;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-thickness-thick{stroke-width:3.5px;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-pattern-solid{stroke-dasharray:0;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-pattern-dashed{stroke-dasharray:3;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .edge-pattern-dotted{stroke-dasharray:2;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .marker{fill:lightgrey;stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .marker.cross{stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c p{margin:0;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .actor-line{stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .sequenceNumber{fill:black;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .messageText{fill:lightgrey;stroke:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .labelText,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .loopText,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .sectionTitle,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .noteText,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .actorPopupMenu{position:absolute;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .actor-man circle,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c line{fill:#1f2020;stroke-width:2px;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c .node .neo-node{stroke:#ccc;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node rect,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].cluster rect,#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node polygon{stroke:url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node path{stroke:url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-gradient);stroke-width:1px;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node circle{stroke:url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"control-structure\" data-id=\"i10\"><line x1=\"64\" y1=\"354.1666666666667\" x2=\"498\" y2=\"354.1666666666667\" class=\"loopLine\"></line><line x1=\"498\" y1=\"354.1666666666667\" x2=\"498\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"570.6666666666667\" x2=\"498\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"354.1666666666667\" x2=\"64\" y2=\"570.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"468.1666666666667\" x2=\"498\" y2=\"468.1666666666667\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"64,354.1666666666667 114,354.1666666666667 114,367.1666666666667 105.6,374.1666666666667 64,374.1666666666667\" class=\"labelBox\"></polygon><text x=\"89\" y=\"367\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"306\" y=\"372\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[NEW_PASSWORD_REQUIRED]</tspan></text><text x=\"281\" y=\"486\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Multi-factor code required]</text></g><g data-et=\"control-structure\" data-id=\"i12\"><line x1=\"54\" y1=\"155.66666666666669\" x2=\"508\" y2=\"155.66666666666669\" class=\"loopLine\"></line><line x1=\"508\" y1=\"155.66666666666669\" x2=\"508\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"626.6666666666667\" x2=\"508\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"155.66666666666669\" x2=\"54\" y2=\"626.6666666666667\" class=\"loopLine\"></line><line x1=\"54\" y1=\"268.1666666666667\" x2=\"508\" y2=\"268.1666666666667\" class=\"loopLine\" style=\"stroke-dasharray: 3, 3;\"></line><polygon points=\"54,155.66666666666669 104,155.66666666666669 104,168.66666666666669 95.6,175.66666666666669 54,175.66666666666669\" class=\"labelBox\"></polygon><text x=\"79\" y=\"168\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">alt</text><text x=\"306\" y=\"173\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[Tokens returned]</tspan></text><text x=\"281\" y=\"286\" text-anchor=\"middle\" class=\"sectionTitle\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">[Challenge returned]</text></g><g data-et=\"control-structure\" data-id=\"i16\"><line x1=\"64\" y1=\"636.6666666666667\" x2=\"498\" y2=\"636.6666666666667\" class=\"loopLine\"></line><line x1=\"498\" y1=\"636.6666666666667\" x2=\"498\" y2=\"773.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"773.6666666666667\" x2=\"498\" y2=\"773.6666666666667\" class=\"loopLine\"></line><line x1=\"64\" y1=\"636.6666666666667\" x2=\"64\" y2=\"773.6666666666667\" class=\"loopLine\"></line><polygon points=\"64,636.6666666666667 114,636.6666666666667 114,649.6666666666667 105.6,656.6666666666667 64,656.6666666666667\" class=\"labelBox\"></polygon><text x=\"89\" y=\"649\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"labelText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">loop</text><text x=\"306\" y=\"654\" text-anchor=\"middle\" class=\"loopText\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"306\">[Until expiresIn runs out]</tspan></text></g><text x=\"280\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /user-authentication</text><text x=\"280\" y=\"97\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Basic username:password, x-api-key,</text><text x=\"280\" y=\"115\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">client ID, client code, database, User-Agent</text><line x1=\"82\" y1=\"145.66666666666669\" x2=\"483\" y2=\"145.66666666666669\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"145.66666666666669\" x2=\"75\" y2=\"145.66666666666669\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"75\" y=\"149.66666666666669\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">1</text><text x=\"283\" y=\"206\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">data.authenticationResult</text><text x=\"283\" y=\"223\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(idToken, accessToken, refreshToken, expiresIn)</text><line x1=\"492\" y1=\"253.16666666666669\" x2=\"79\" y2=\"253.16666666666669\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"253.16666666666669\" x2=\"487\" y2=\"253.16666666666669\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"487\" y=\"257.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">2</text><text x=\"283\" y=\"313\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">data.challengeName and data.session</text><line x1=\"492\" y1=\"344.1666666666667\" x2=\"79\" y2=\"344.1666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i5\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"344.1666666666667\" x2=\"487\" y2=\"344.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"487\" y=\"348.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">3</text><text x=\"280\" y=\"404\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /change-temporary-password</text><text x=\"280\" y=\"422\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(userID, newPassword, session)</text><line x1=\"82\" y1=\"453.1666666666667\" x2=\"483\" y2=\"453.1666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i7\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"453.1666666666667\" x2=\"75\" y2=\"453.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"75\" y=\"457.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">4</text><text x=\"280\" y=\"513\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /mfa-submit-code</text><text x=\"280\" y=\"530\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">(username, mfaCode, session)</text><line x1=\"82\" y1=\"560.6666666666667\" x2=\"483\" y2=\"560.6666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i9\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"560.6666666666667\" x2=\"75\" y2=\"560.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"75\" y=\"564.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">5</text><text x=\"283\" y=\"586\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">authenticationResult, or another challenge</text><line x1=\"492\" y1=\"616.6666666666667\" x2=\"79\" y2=\"616.6666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i11\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"616.6666666666667\" x2=\"487\" y2=\"616.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"487\" y=\"620.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">6</text><text x=\"280\" y=\"687\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Any call with Authorization: Bearer idToken</text><line x1=\"82\" y1=\"717.6666666666667\" x2=\"483\" y2=\"717.6666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i14\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"717.6666666666667\" x2=\"75\" y2=\"717.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"75\" y=\"721.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">7</text><text x=\"283\" y=\"733\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Response</text><line x1=\"492\" y1=\"763.6666666666667\" x2=\"79\" y2=\"763.6666666666667\" class=\"messageLine1\" data-et=\"message\" data-id=\"i15\" data-from=\"V\" data-to=\"C\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><line x1=\"487\" y1=\"763.6666666666667\" x2=\"487\" y2=\"763.6666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"487\" y=\"767.6666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">8</text><text x=\"280\" y=\"789\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">Log in again (POST /user-authentication)</text><text x=\"280\" y=\"807\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, Arial, &quot;Liberation Sans&quot;, Arimo, Helvetica, &quot;Redocly Mermaid CJK&quot;, sans-serif; font-size: 16px; font-weight: 400;\">or POST /user-refresh-tokens</text><line x1=\"82\" y1=\"836.1666666666667\" x2=\"483\" y2=\"836.1666666666667\" class=\"messageLine0\" data-et=\"message\" data-id=\"i17\" data-from=\"C\" data-to=\"V\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-arrowhead)\" style=\"fill: none;\"></line><line x1=\"75\" y1=\"836.1666666666667\" x2=\"75\" y2=\"836.1666666666667\" stroke-width=\"0\" marker-start=\"url(#diagram-e640c9355486a2a7765025745a6870988bfae53adfa7e540da275644803ae79c-sequencenumber)\"></line><text x=\"75\" y=\"840.1666666666667\" font-family=\"sans-serif\" font-size=\"12px\" text-anchor=\"middle\" class=\"sequenceNumber\">9</text></svg>"},"children":["sequenceDiagram\n    autonumber\n    participant C as Your integration\n    participant V as VBAPI\n    C->>V: POST /user-authentication<br/>Basic username:password, x-api-key,<br/>client ID, client code, database, User-Agent\n    alt Tokens returned\n        V-->>C: data.authenticationResult<br/>(idToken, accessToken, refreshToken, expiresIn)\n    else Challenge returned\n        V-->>C: data.challengeName and data.session\n        alt NEW_PASSWORD_REQUIRED\n            C->>V: POST /change-temporary-password<br/>(userID, newPassword, session)\n        else Multi-factor code required\n            C->>V: POST /mfa-submit-code<br/>(username, mfaCode, session)\n        end\n        V-->>C: authenticationResult, or another challenge\n    end\n    loop Until expiresIn runs out\n        C->>V: Any call with Authorization: Bearer idToken\n        V-->>C: Response\n    end\n    C->>V: Log in again (POST /user-authentication)<br/>or POST /user-refresh-tokens\n"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"log-in","__idx":2},"children":["Log in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/userauthentication"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user-authentication"]}]}," has no body. It reads your username and password from a Basic ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}," header and needs these headers:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Header"},"children":["Header"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["x-api-key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your API key."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Basic <base64 of username:password>"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your client ID."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-code"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your client code."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The database to log in to, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATABASE"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-machine-id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional. An identifier for the calling machine."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["User-Agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Recommended: your integration name, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YourCompany-Integration/1.0"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The shared client used by the samples logs in like this:"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/_shared/csharp/VbapiClient.cs","language":"csharp","header":{"controls":{"copy":{}}},"lang":"csharp","source":"    public async Task AuthenticateAsync()\n    {\n        using var request = new HttpRequestMessage(HttpMethod.Post, $\"{_baseUrl}/user-authentication\");\n        var basic = Convert.ToBase64String(Encoding.UTF8.GetBytes($\"{_username}:{_password}\"));\n        request.Headers.Authorization = new AuthenticationHeaderValue(\"Basic\", basic);\n        request.Headers.Add(\"x-api-key\", _apiKey);\n        request.Headers.Add(\"vbasoftware-client-id\", _clientId);\n        request.Headers.Add(\"vbasoftware-client-code\", _clientCode);\n        request.Headers.Add(\"vbasoftware-database\", _database);\n        request.Headers.UserAgent.ParseAdd(_userAgent);\n\n        using var response = await _http.SendAsync(request);\n        var body = await ReadJsonAsync(response);\n        if (response.StatusCode != HttpStatusCode.OK)\n            throw new VbapiException(response.StatusCode, body?[\"error\"], body?[\"debug\"]?[\"activityID\"]?.GetValue<string>());\n\n        var login = body![\"data\"]!;\n        var challenge = login[\"challengeName\"]?.GetValue<string>();\n        if (!string.IsNullOrEmpty(challenge))\n            throw new VbapiChallengeException(challenge, login[\"session\"]?.GetValue<string>());\n\n        var result = login[\"authenticationResult\"]!;\n        _idToken = result[\"idToken\"]!.GetValue<string>();\n        var expiresIn = result[\"expiresIn\"]?.GetValue<int>() ?? 3600; // seconds\n        _expiresAt = DateTimeOffset.UtcNow.AddSeconds(expiresIn - 60);  // refresh one minute early\n    }\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/_shared/python/vbapi_client.py","language":"python","header":{"controls":{"copy":{}}},"lang":"python","source":"    def authenticate(self):\n        \"\"\"Log in with POST /user-authentication and keep the ID token until it expires.\"\"\"\n        response = self.session.post(\n            f\"{self.base_url}/user-authentication\",\n            auth=(self.username, self.password),  # HTTP Basic\n            headers={\n                \"x-api-key\": self.api_key,\n                \"vbasoftware-client-id\": self.client_id,\n                \"vbasoftware-client-code\": self.client_code,\n                \"vbasoftware-database\": self.database,\n                \"User-Agent\": self.user_agent,\n            },\n            timeout=30,\n        )\n        body = self._json(response)\n        if response.status_code != 200:\n            raise VbapiError(response.status_code, self._error(body), self._activity_id(body))\n\n        login = body[\"data\"]\n        if login.get(\"challengeName\"):\n            raise VbapiChallengeError(login[\"challengeName\"], login.get(\"session\"))\n\n        result = login[\"authenticationResult\"]\n        self._id_token = result[\"idToken\"]\n        # Refresh one minute early. expiresIn is in seconds.\n        self._expires_at = time.time() + int(result.get(\"expiresIn\") or 3600) - 60\n    "},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"TypeScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"../../_samples/_shared/typescript/vbapiClient.ts","language":"typescript","header":{"controls":{"copy":{}}},"lang":"typescript","source":"  async authenticate(): Promise<void> {\n    const response = await axios.post(`${this.baseUrl}/user-authentication`, null, {\n      auth: { username: this.username, password: this.password }, // HTTP Basic\n      headers: {\n        \"x-api-key\": this.apiKey,\n        \"vbasoftware-client-id\": this.clientId,\n        \"vbasoftware-client-code\": this.clientCode,\n        \"vbasoftware-database\": this.database,\n        \"User-Agent\": this.userAgent,\n      },\n      validateStatus: () => true,\n    });\n    if (response.status !== 200) {\n      throw new VbapiError(response.status, field(response.data, \"error\"), activityIdOf(response.data));\n    }\n\n    const login = response.data.data;\n    if (login.challengeName) {\n      throw new VbapiChallengeError(login.challengeName, login.session);\n    }\n\n    const result = login.authenticationResult;\n    this.idToken = result.idToken;\n    // Refresh one minute early. expiresIn is in seconds.\n    this.expiresAt = Date.now() + ((result.expiresIn ?? 3600) - 60) * 1000;\n  }\n  "},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A successful login returns the tokens in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.authenticationResult"]},". Example response (illustrative; the token values are fake and shortened, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expiresIn"]}," varies, so read it from each response):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"data\": {\n    \"challengeName\": null,\n    \"session\": null,\n    \"authenticationResult\": {\n      \"accessToken\": \"eyJraWQiOiJET0NTIn0.fake-access-token\",\n      \"idToken\": \"eyJraWQiOiJET0NTIn0.fake-id-token\",\n      \"refreshToken\": \"fake-refresh-token\",\n      \"expiresIn\": 3600\n    }\n  },\n  \"error\": null,\n  \"debug\": { \"activityID\": \"00000000-0000-0000-0000-000000000000\" }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["idToken"]},", not the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accessToken"]},", as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization: Bearer <idToken>"]}," on every other call, together with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["x-api-key"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]},", and a descriptive ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["User-Agent"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"handle-login-challenges","__idx":3},"children":["Handle login challenges"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Instead of tokens, login can return a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challengeName"]}," and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]},", with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["authenticationResult"]}," empty. Your code must check for this before it reads the token. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]}," value ties the next call to this login attempt, so pass it back unchanged."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Challenge"},"children":["Challenge"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it means"},"children":["What it means"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Next call"},"children":["Next call"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NEW_PASSWORD_REQUIRED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The user still has a temporary password."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/userchangetemppassword"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /change-temporary-password"]}]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userID"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["newPassword"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A multi-factor challenge"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The user must enter a code from their authenticator."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/submitmfacode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /mfa-submit-code"]}]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["username"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mfaCode"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]},". It returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["202"]}," with the same response shape as a login."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both calls send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]},", like login. Their responses have the same shape as a login response, so they can carry tokens or another challenge; check ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challengeName"]}," again."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example body for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /change-temporary-password"]}," (illustrative; values are fake):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"userID\": \"DOCS-APIUSER\",\n  \"newPassword\": \"a-new-strong-password\",\n  \"session\": \"session-value-from-the-login-response\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An unattended integration cannot answer a challenge by itself. The shared client stops with a clear message when login returns one. Complete the challenge once, by hand or with a small one-off script, and then run the integration again."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"reuse-the-token-until-it-expires","__idx":4},"children":["Reuse the token until it expires"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expiresIn"]}," is the token's lifetime in seconds. Do not hard-code a lifetime; read ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expiresIn"]}," from each login response."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in once and reuse the ID token for every call until shortly before it expires. Do not log in for each request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Share one client (and so one token) across your process rather than logging in from every worker."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Renew the token a little early. The shared client renews one minute before ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expiresIn"]}," runs out."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If a call returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}," anyway, log in again once and retry the call. The shared client does this; see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/errors"},"children":["Errors and troubleshooting"]}," for the code."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The shared client keeps the token and its expiry time in memory and checks them before every call, as shown in the login code above."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"refresh-tokens","__idx":5},"children":["Refresh tokens"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Login also returns a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refreshToken"]},". ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/refreshusertokens"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user-refresh-tokens"]}]}," exchanges it for new tokens. It takes the expired ID token in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["expired-id-token"]}," header and the refresh token in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["refresh-token"]}," header, plus ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]},", and returns the same shape as a login. The samples log in again instead, which needs nothing beyond the credentials you already have."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"password-resets","__idx":6},"children":["Password resets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a user forgets their password, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/forgotpassword"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /forgot-password"]}]}," with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userID"]}," sends the user a confirmation code. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/confirmforgotpassword"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /confirm-forgot-password"]}]}," then sets the new password, with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userID"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["password"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["confirmationCode"]},". Both send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-client-code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]},". For an API service user, it is usually simpler to ask whoever issued your credentials."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-authentication-issues","__idx":7},"children":["Common authentication issues"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you see"},"children":["What you see"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Likely cause"},"children":["Likely cause"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Fix"},"children":["Fix"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user-authentication"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wrong username or password, or the wrong client ID, client code, or database for that user."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check each value with whoever issued your credentials."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["challengeName: NEW_PASSWORD_REQUIRED"]}," instead of tokens"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The user still has a temporary password."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Set a permanent password with ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/openapi/vbasoftware/vbasoftware.api/user/userchangetemppassword"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /change-temporary-password"]}]},", then log in again."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]}," on a data call"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ID token is missing, expired, or not sent as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Log in again, and send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization: Bearer <idToken>"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"message\":\"Forbidden\"}"]}," on every call"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["x-api-key"]}," header is missing or wrong."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Send your API key in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["x-api-key"]}," on every request, login included."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["More than 25 requests per second (burst 50) on your API key."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Slow down and retry with backoff. The samples do this for you."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Login or data calls fail for a database you expect to use"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vbasoftware-database"]}," value does not match a database your user can reach."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Use the database name you were given, exactly as issued."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"keep-credentials-safe","__idx":8},"children":["Keep credentials safe"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Load the API key, client ID, client code, username, and password from a secrets manager or environment variables, never from source code."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Keep tokens in memory. Do not write them to disk or share them between systems."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Never log passwords, tokens, the API key, or full ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}," headers. Log the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debug.activityID"]}," instead."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Rotate the password and API key according to your security policy, and straight away if they may have been exposed."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Contacting support"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send VBA support:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debug.activityID"]}," from the response"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the date and time of the call, with time zone"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the method and path, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /claim-batches"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the full ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["error"]}," object from the response"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the request body, with passwords, tokens, and personal data removed"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never send your password, API key, or tokens. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/help/support"},"children":["Support and escalation"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related","__idx":9},"children":["Related"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/get-started/quick-start"},"children":["Quick start"]},": log in and make a first call."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/get-started/credentials-and-environments"},"children":["Credentials and environments"]},": what VBA issues and how to request it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/developer-portal/concepts/requests-and-responses"},"children":["Requests and responses"]},": headers, methods, and status codes."]}]}]},"headings":[{"value":"Authentication and tokens","id":"authentication-and-tokens","depth":1},{"value":"The flow","id":"the-flow","depth":2},{"value":"Log in","id":"log-in","depth":2},{"value":"Handle login challenges","id":"handle-login-challenges","depth":2},{"value":"Reuse the token until it expires","id":"reuse-the-token-until-it-expires","depth":2},{"value":"Refresh tokens","id":"refresh-tokens","depth":3},{"value":"Password resets","id":"password-resets","depth":2},{"value":"Common authentication issues","id":"common-authentication-issues","depth":2},{"value":"Keep credentials safe","id":"keep-credentials-safe","depth":2},{"value":"Related","id":"related","depth":2}],"frontmatter":{"title":"Authentication and tokens","description":"How a VBAPI integration logs in, handles login challenges, sends and reuses the ID token, and keeps its credentials safe.","seo":{"title":"Authentication and tokens"}},"lastModified":"2026-10-26T21:09:33.691Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/concepts/authentication","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}