{"_id":"koas-security","_rev":"14-0e194165cd50ca466e9b99ae945d28e5","name":"koas-security","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.11":{"name":"koas-security","version":"0.1.11","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^1.3.5","type-fest":"^0.8.1"},"peerDependencies":{"koas-core":"^0.1.11"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.1.11.tgz","_id":"koas-security@0.1.11","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-7sO76FF5gISQH+uG3Z3CmTAVBnJWe3ngQXh68xP+UTlC2KL2kmRfI8mUS77AOcq7mKfbfOvQ3BT7r4TYp7YuVQ==","shasum":"9454ff5766b2f547e1c1b6f40d00398b093dde94","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.1.11.tgz","fileCount":15,"unpackedSize":8886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtqesCRA9TVsSAnZWagAAMSsP/3Nk+wB8hBgSvPtSAfqd\n4iTJagyJnUU28/Xvr5uxWqp7HiLzjDxrr3AP7zrylY2OXWBzVcLj+PsPWoA4\nOvn5VCDVlkuSa71mzfWEIcRHwgMRAc+LdlNoM/7s94IoJzk9hxq8UrKb2/oR\nxaUXJEEl9GJ/l91gIfBIdQ9fuW8jFzdGdhmVTQ4+KcNDNb8xrFJid+Quh3G6\nhZo7NHg2lwUfMd4lf6nsNJcgZMaZhxZkajb+tdGh5U7KHjhw9iZRiQenLKsE\nY9jtEctncuGg2iRWYdceAl5knfXQ34GEX6DNXzpRH7PPDfdBzTimGXDdYEuW\nvldS4d7V0l6szdXVPJJiKFidtQvaJuwVNc9O/WxBzVrrJtYxlWpcB4ZyUDkq\naFXljg4lzJyTsaKYJ9s7FW1QdfrrIX3sMPgnHoI2tmG/VSOoU3AzuaIhHqYc\nm9hWYGaeXDMqZ86Q43XwjxAEC/eX4fBa+Za/m4NU3rAigADzKmUsTuaVGlD8\nYxwosrdu49XwlY9o4xGiwv4ZQIXGvgRXE/ZakE/4oIkNtJaiZoQ6/TO/NBKQ\nBCP97ceC6xac2oQea3z6qRecwNUEIbkXvhN/D6TPxJFpc/PhgXgJmzoNfKGE\nzMDOy67tNqgZxZ1xnXPU9mir08a90Hxof4U67+t98gIRV/T//FQctgAb8AcO\nabPg\r\n=h4v9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRTl4spnF1dZXlEc5/P9bbVeFxMbbWElMBvM1O9GqJZAiEAtX+Qpb6/oAF1u8nvzjPnI39qipAiLvpf12QN/RVntjQ="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.1.11_1572251563863_0.4086452749355216"},"_hasShrinkwrap":false},"0.2.0":{"name":"koas-security","version":"0.2.0","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"license":"MIT","homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^1.3.5","type-fest":"^0.8.1"},"peerDependencies":{"koas-core":"^0.2.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.2.0.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-29kq1oSsb8CaUERhg9Tgzwbb+4mKkjQ4RaITWWtlw+BEpIWTt2b+sbqd0ZqOomwzVkoplwew8p4bl5wmA7UTDg==","shasum":"eff14472f1fe8fdf3b01a8a2a04474d472daa15a","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.2.0.tgz","fileCount":16,"unpackedSize":11126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtqjECRA9TVsSAnZWagAAlc0QAIo8YkiD64raLaCnoyTX\nbfsvN4JSMRWvrZ2uvwOMJ+8uy7zSLQwPL6QJXlXvg0GJYjBTYJMAt9yt3Txc\n8r4+2pVOqUENI+nNN7O4y038q6YCbY2MGofER559mqaWTS8Xt//ubkgcC5e1\nK2MzvSgDPePzWDTm2UnPmJ+r9btHBbTEgwiElWJL2uqe5PsJER0flGxukKql\nVk/vgO0aV6X3ixWu4dR4jVNDA34pcgB9woVnzUBA/cVmJ5yketCvyi3h1Uus\nmiLhgMd3aXhhWi8HzWh3AfYNiJ3yZ4snbf8M+kkGIHcQSbb7YmA/CVucsJSB\nA908GvDp4MogcCviFtbYcY+lJ5PVLLyZce5FXvNXbwbDSEGY3HljqARsi2d6\nWeHhOXRF7qsPtifGNg9idnP7g3BRoTw6xsdZqXsGbsoCTbHEwdQ6I93mkxS7\nhqRYHp8M8IsG1/5m+kYQuV0KM5ABD9LNqDPscSV4Nh4Vg5q0kXXuQcyxZ0/P\nE60WNG6rLmUBEGMgWJnBPwq77QcWgaB1hG4Y0z9qPMEJvx2bg5inO6259fkJ\nBJ9+iQm390M5ywaHRE0r54O56J5ibXYb5B972VPD8MsdUoP4AB7SiG+ZU1Pq\nV7ll1JeJnPMKbRVcqOCGy83SWBFdN/m/WOhF99emlCgz7jp1SmxVicjnwVV5\nFVGP\r\n=FXM7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGZ19xAxIW2UGEYg/wmpLg89KgPznd9jUuaJu5pw56dAiBVqxvjHIJ7IfK6rVc16nnmyX5Bsc8hqU0gaoocf8+J8g=="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.2.0_1572251843628_0.9161990081420599"},"_hasShrinkwrap":false},"0.2.1":{"name":"koas-security","version":"0.2.1","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^1.3.5","type-fest":"^0.12.0"},"peerDependencies":{"koas-core":"^0.2.1"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.2.1.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.2.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-45jnJJiAvaPi2Nj12nQm1EK4uU45MKGGjILgUG31fSAEha1JXXxlsOZHNiTViKVgjJYUQmBwy5wImY7a5Bgb9w==","shasum":"9780c758561761ca2b63af43c2d3a827ddc55b43","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.2.1.tgz","fileCount":16,"unpackedSize":11246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeH/YCRA9TVsSAnZWagAAZVQP/j0IoJNEEFJZzVrCk1wd\neW4KB7EKdjYeQDy12EfZbpIxDTrbrRRHB0Zn+an8gUyjMEuMpibWXrEjXbrz\n2QXRe/pcSuqM0991ClDi/w4I9iSp0xQdbs3R1UTYqFRW4qR+Q1GeGv7sPpzL\n4tEahBImGmiIMGJGxWsvwzw1Ky719HPW9j6nZHX+5eoy4LScGmbNJ20lrifl\nqRnT9eMUwKRVosifckQXgC7hXiMvTr3sm+Vw8K0HtdKAm386dnrvewOpiMzd\nf+TIbFUSxg799eb9y3ZE03U+XKtrZ9Iy7i7EJGe53Fwyk34LAJM2Tim2NX6x\nhDNIIzUBax+7q6kpTz6sQMMjUr55EnxST6o6TPrc0zkmHLyH2agema5Ug+WL\nsZ3Nold87IWuWeEZRKrOY6YFF6FIwqvCg0dJ8OOFzkYO9YNTUGsGbnqxEc92\neeiyCbNoMcJe+PlRKDfJwOiljljrCPRDmnhr/dxUKPzWzC8DJGqde8cDMQsC\nj5jXgjP9NJxfL3oYV7tjNTcncP2fJTWZHJSA6ecBrVzWg2RXTHCFRHOQHO+W\nnga8iKMztLs7t3JoVOMG/FWwlZdmVn/5qAEZXAVheWsaXlEMDYndgczJEnzd\n1prac3j1EBH3mkWl8NobuEV/1Uu/B09yjT5QaHEMqd/OPj4rocWYa7y3sErZ\nahjK\r\n=qp9b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWp9IcRN5ZmiacBtTci4FWQff23YKNKzZ59ahi+M8/VwIgH+3YB+FYNjHKUKazJfXdcynaAjkIoJBCpgi06evDSz0="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.2.1_1584955351810_0.9858836406225193"},"_hasShrinkwrap":false},"0.3.0":{"name":"koas-security","version":"0.3.0","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^1.3.5","type-fest":"^0.13.1"},"peerDependencies":{"koas-core":"^0.3.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.3.0.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.3.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Ekz14ToNwyBLk8yTCFFZDiM/SkabMhxaG5u4EwHtqCYvbq/pcBITvdsEsVGpGzNHOxjSGuLPrAXt5gtZ4ELobQ==","shasum":"fb98619cc0c90b0f6e67f8644f4289494f8cbd43","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.3.0.tgz","fileCount":16,"unpackedSize":11397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJessUzCRA9TVsSAnZWagAAe3cP/1fDZfdjTh3+B9KclPTQ\nI+qgyGKhyU0WoedEi4xOx41elf0AlWVs7UrKwPGYDcZBg+bX1kQ0jw9de8Lr\nSjTTHGS2MHX96iSTzEOwB9Oj5Xb1JWEa9l0iI5bgSCRbbD8x82IrY/5PjifY\n3VCM4ZeoDGdAH+xIiUFytggXOKxZZIvINXow5hBrh0Gu+X/1dG26TExTBn+S\nTf8KN+9o3Vs1fIpAMhgjrxCrYaWuQf83Z91OAIdR4eqBSCB0VKEAztZJne/Y\n6svyHkZy8sxiqg/DsOT+VHVD9THueXA577IIOIpQGuXkLBEfKVIq/e/8JaBc\n6j5rosI/0Jjj5Q63uKQYi7t8Y80ziPlQJjlVBnUnGhLt7zIKv6qEnSZpLgSh\nkT0uNZYxNMiG7CE4f/0Wyxyhe4lo9ZsyZx/cBeCbNMuAwltWes604luXMreu\n9FqqyjOSujgx6CZx/3T9bde7zRqTF1mT1zceMUVkWhYVuh+vbBh3fYJ8wJXI\nPceb8BTEZ3NVoI4UNzwgnKkDVrbnNPKrMq7aAPp1YNaEi6xf9ptkm4mV+pRi\nlQjAsYumNNTRifz+NiijywCs2O25iSsafvIO5oaw0ngh64kqBxlA7aQfsLdM\nt9aBxY71ATyrrJEH4ovhH1Y3e5MdWPO2o7DDAVmKdyzO9Knd+ZYrGT6fLgn+\ndNRb\r\n=TqH7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLUHX30qSTK/55aVqN5Ztbr0VEUiAlqku/tSGwmBY3pAiEA3HdvxCIofPNQ42PgK8p4MUG3cn54R+5sFrmkiPgIhjw="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.3.0_1588774195391_0.9040719506409498"},"_hasShrinkwrap":false},"0.4.0":{"name":"koas-security","version":"0.4.0","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^7.0.1","type-fest":"^0.16.0"},"devDependencies":{"axios-test-instance":"^3.1.1","koa":"^2.13.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.3.0"},"engines":{"node":">=12.0.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.4.0.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.4.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-e5JKJpf5Ax3o7KfBpFJSrvh0MX7IR0V9ljdZ0CnwV1REDSGc80a+5bGTzdkiSEjheF3pZRL5hA2qAaIM057pnA==","shasum":"c3a91d73b3ecf849d5104446f0c3306e5ad7efb8","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.4.0.tgz","fileCount":16,"unpackedSize":15514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS7akCRA9TVsSAnZWagAAT5MQAJrqBCNX/GCaVnpr7DTQ\nfW/2y+9TCBJZeAJgf2WaIV3gepYg4Aaqa2IPuKoQr7VizOJeRQd49q+WEx8j\nob1MhY3g6YCEpDnMCA1O89NzUvHpMEg8tIPV2y7hnp73fCPm+d5T15s+/rX2\npLwFnRaR5Alnh6QVYHQ/QjCWvDYwS4W/3U+9JIYr3hxUfZ7f2tGXm2e+rtcf\nbN16DphQH1yVP7U0idnavMP8lNzCVkPOO/CKdl0mXg88KWBfnjs9bkLACllm\n/lzsth6M6YyvTRwyCQPrcLZpTbzG7EGOlAOwYwXcFK23BxvY0GGT4K73MLx4\n1zMYMM+/IzNZor6xUkxazULCyOLKnd8Qbvxmk/6uVfiX3c9E3dwSJ5F+92zW\ncwicHdCcuX6vkrkLNgGhXpjKI3CLYVlwlOYmkMNcmLeNUlnWCyZ5tvbM7q75\nyNWmhq8X5/uQR/whphZuv7vtWIzJX6AlPb2lpYAZGqqOJ7293thLYiQ5keHP\ndqCHrw08m7+PaRG93TXyTSRzWEBIXihVoQcihq35SqiYhWgQWV3kvT2ca/gw\n6+tszlgDQyWU28suBE7d1kFx41I4PwxqOwIpz5Q/JHr4pICNxU1X2ezMW1WW\nGDFoVn8J3hA2/JMXcjfFtroljfjb5liIRcvpSBAfEiSTm4O8vOYGzV8LvOpR\nnL2o\r\n=RwBi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvBm9GbBVS1ezVNKLTtu4xjKTusW6zf5lpw5wtdfS19gIgVesrQ8YqGQQ4+tEZEl1dsWe4tfi2UZl++XHHHKcLMk0="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.4.0_1598797476392_0.43459706879984616"},"_hasShrinkwrap":false},"0.4.1":{"name":"koas-security","version":"0.4.1","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^7.0.1","type-fest":"^0.16.0"},"devDependencies":{"axios-test-instance":"^3.1.1","koa":"^2.13.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.4.1"},"engines":{"node":">=12.0.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.4.1.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.4.1","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gqsmeI3NpIomLZFhvHJD5XemoPqLjGocZBi7xQM01zUw/yq/f4VsEjxBYM+wXbD1tPZqwjQsBR3MmrKZ2MbcFw==","shasum":"fd25da8f8fc97fb3221df98f08a8fd253b591297","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.4.1.tgz","fileCount":16,"unpackedSize":15514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTJ0UCRA9TVsSAnZWagAADwIP/RYSKS+R3MSHdnGpZ3TW\n8gH07EZyAJYmPOp72cs/KE7Mm1gZ5joKCpuGf/d0snk3OqbbWYCEIaT66j0G\nKc0wmQxeUsUaWsvX0PT9qfJFm3u5Kg/wJ8wl/BPzAGm143bw7gpIx70lz/EL\nEgpHvSAWtn656TDYcHuJ99P/TV97D46O9eN+N6R/XIcy6Ed9QmFRdqMYYmvu\nqy8Bs1zK6U1b6WqQbH8RSAkDi1PfHReptpL4VCLwvdJEhGKXS5mvGXIlry56\nsY00X5bqevVNEfL60+57UABPhzvAP1kw8VQ2/1o5lsPEmd4YzKIGugyVPoBL\nqLEpbaDKHUiqo7MymjMmXTzpZ7rB5yZOprklVc+zlcl4/QHlDidpCu+aW2ED\neE9NGneCtS3OCBdQ3N/fpYCMBh8oZMc49ALkjEk6824NKa6FJxqoSQs2tNO8\njbEQ5QbmXNuDWR69oKrPwGoSmzxprOPK3Qv7KVzaZ0Ot2bp3yPrCzO4kMkIw\nvB2NUI6uAkmU+kc4BoTyBOMviw6irPKHiCxff/220KbeixyOUfkkNyY06L5y\nfUyvPdtkSQNhGBqxZfISsz3/dzH8grCn6qrCAz6vT0b8OEtJc94SyyAqK1Lp\ne4FtVteMKYt8jwEtFzqp7xNG2Fw0cQBcK5pGpQyFSLKwdMQcbEZVbKCfbBUB\n+xDY\r\n=fqLf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBb2pzBM29eG84Gr6yqGtdM8kcbeHohiwbatPJX4IxMdAiAs4i2U+Ma5bTkfj2kfsm2XvDnGWIaoVKSdtsru5m6CHQ=="}]},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.4.1_1598856468008_0.6050285876610653"},"_hasShrinkwrap":false},"0.5.0":{"name":"koas-security","version":"0.5.0","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^7.2.3","type-fest":"^0.20.2"},"devDependencies":{"axios-test-instance":"^4.0.0","koa":"^2.13.1"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.0"},"engines":{"node":">=12.0.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.5.0.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.5.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-Jsemn3qufih0PUzBUpgtC6vZ8VieiU01C+lyw8u/0rEXczWKJbwT0Be2whZZ1zlI5rq0vcgVKuHHCgAyCge3nw==","shasum":"60787598f0db2fac5bc710a73d6136f87d58255b","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.0.tgz","fileCount":16,"unpackedSize":15609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEdXVCRA9TVsSAnZWagAA5UkP/2XynJECTzQi3cOMteHs\norgCrgl5QbvrEvsVS3eUxdE1ub1QSMGZUrIgh89k0/QoY9PDGSvxf1DbToAD\niaELbZv9ROxj6X7mTe5AoaOqXNIBVcOeWjZ1GQhKEGLOpCHjxmhz0dGqAaGs\nZWHW+0oNsJ61XiO58ICnPKTRGOf9XhCitH/vB15ICDYMHuegcANzKx1uVnk8\nyhiDLcNPdt6I5Mv+9UMsIhJ9A9MfycOnQVh9WHF70GSrMrHB/p6K+R45wsKR\nZeq4y37LVBN/piNOEu83NB3zP7MAYMMUTSuZEQXUGMRo0NiydUOltPUmN5/d\n92zz4FsuFNuOYQJdQ1gPrPBtmBO2vhb8TDptWt4ZFA5iUC7E8kC3hHvSG/F1\n2V7mE1gYfgtnfdgOjeFVotZ8OOuYPgKJtLmB1V38wct2r2sXP0lhy8zsIseI\nMyIXEqFYz4MV5DVDKS1smNkJpu6v4TURSAzm7741BfVIzj+QR4sZcpFq8ar4\nMSWcQhhsAjz16LWvdDbtqxnCmxdD3x/9gfZ7HCB3B4K75l9nCKVI5vdv06Bs\nZOm44Ys7EEzMqcSHdo3SNCScgfT4zoc/pEwnkEtSuCydgcv4s4O6vJ0ADMS8\n/ItotvAFjOnSKIHKA+j4P7t0JcxHiPGU2SIkmHIuauSFNHCFyNPZEnREG8qa\nf8mV\r\n=oaXC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEY1HnXo64wPR9Yqbb78sqSNNVEftKBqZ9RFEs/11m6AiAhn28NJmP44McihjnC0ddvrxcP/rkBFWs1XEc8yVs71w=="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.0_1611781588510_0.4576782718692247"},"_hasShrinkwrap":false},"0.5.1":{"name":"koas-security","version":"0.5.1","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^7.2.3","type-fest":"^0.20.2"},"devDependencies":{"axios-test-instance":"^4.0.0","koa":"^2.13.1"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.1"},"engines":{"node":">=12.0.0"},"_resolved":"","_integrity":"","_from":"file:koas-security-v0.5.1.tgz","description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.5.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-ERcPCxpxnALEEJl03mwSdEzeNt/54baYa6Po909nD0RxPTlHtk3U0J3ito3ba7Z1WQ8FG6877BYMX77qG9Berw==","shasum":"eb6f84dedb8b5665f285a9c2ab3d9d3744b662f5","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.1.tgz","fileCount":16,"unpackedSize":16627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEyiuCRA9TVsSAnZWagAAD/4P+gJvdKj3HT4LXrKgKPGY\nZh763bAlqOjfeaQgqBLgDPZhC3RjXO06C0793ULWwHGfJNxJEpc4urNYN3CM\ncM45EdZv9ol5XicjoMnn2Q9kL9lzvLhRWI5qvF3XdokyrW1ZYEPgiPnNAoX3\nNLrDXYilSlrzKonVr7UHxKFZDdaDf7KsONZGFdSGYiU0Fah/fXw4vdcO+5O2\n4X6+UZOe9JzB7xMyGUvdg9ZpuMBApGJXSnkMwOWAIBRo1SeWUhGsKRKqE3+V\n7VwKUkF6W4hDa7lLz9RRcRj5hoiqI/ZVsd3fm5fFzoH2rrZ9r0d9Eo8PJ3Fn\n/kP/otAdVqeKpMAq2dKqbToTmfRmyrJRRgSm3CGEgC4M4n568vh2hWTg+gRd\nXnEOH1iK35Y40+hmN/eiiYGsgGzs0/uo1x3E0SC9U71Zl2vs0fR1KXvnQECk\n8pYIK+PMfjP4ccxPPNKZP3iAL+PgRWRIN6SxthSqiK2hw8a+ItmtQGhUOiyw\nwCszfXhG+hG3A+rCFGPjWffX5nxy3AxFBfed/dAvZKOmjwOTXlk8OWdo+/zn\npXZULB7wsB7FrFxZZ7Gy7YYvPvkayxl5yt3qyYK2qTOA9yoflBNCWLy4Hqog\nDA7aq56ekDRDVNL6N1Lq0xFl8+Ch9q0MV4WpOesnX6QgnCrconpF1UFcGztH\nkx6N\r\n=jqVb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+jcSXRzZzddVUhpQcM1sByhBGh4K4eihoFnFIyycluAiEA/yH7JLT5dprhq7VPvvHEcuwFcUM+aGsu2cq7GRCNWDY="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.1_1611868333706_0.4076750775642082"},"_hasShrinkwrap":false},"0.5.2":{"name":"koas-security","version":"0.5.2","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":"Remco Haszing <remcohaszing@gmail.com>","main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^9.1.0","type-fest":"^1.2.2"},"devDependencies":{"axios-test-instance":"^4.0.0","koa":"^2.13.1"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.2"},"engines":{"node":">=12.0.0"},"_id":"koas-security@0.5.2","_integrity":"sha512-AoZ2GKiomwsWva2b0RovoCxu6vWJrR4QK6yr07HsDL4dXSiO/SLlE1VTapLoWjwXrLxciO8wnDBrTVoC/BIS2w==","_resolved":"/builds/remcohaszing/koas/koas-security-v0.5.2.tgz","_from":"file:koas-security-v0.5.2.tgz","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-AoZ2GKiomwsWva2b0RovoCxu6vWJrR4QK6yr07HsDL4dXSiO/SLlE1VTapLoWjwXrLxciO8wnDBrTVoC/BIS2w==","shasum":"470f920b859d10ca69e2f29541d3f2aaec1eb279","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.2.tgz","fileCount":16,"unpackedSize":16963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAtaXCRA9TVsSAnZWagAArKEP/20AlZ83IQ7uws4Z9OGh\nqytw9J4IqHAOAe5oRXaotKtm45OF646J5+Eot3NRM7efplRECX1uajTxF2D3\nOSMyY5ZL63NEubEi0cJQwsIfNxGq0bs5djAoRi3LG+FIsqyQw0KWFUYmrEAK\nIz1KqZF90khOwsOQwu91J+2B8W9JUuh/ywopdBftiySYdV4X2ChgbW1/0fNZ\nPT5YNzT8yp9fKJOkEZ2v1vVgRB2RRjo7gbWyr7qjUP9s6k7sztp/sxae6rUL\nkg2AQFBe6vZp4yaZanLkx5Go3g2VWnmRi9z4xgTGpdptDFyDHGkh5GuRkW9z\nUMHduhcLNM1vfVbjoLVJbz3nZL8CzsycALVj6iGF5mPcR1Q+LIovMiycLjs8\nDnhFEpoShcWWTH6M1vUGoi1Dq3CscuzP3ST5WSY2fKVQk6U20e6HWUzRjk9T\n0aQTicnop23uhnVUuqXbZrquMgR+r+vEgUGCJbONE7VE8xLSeuSnLhgrB5f7\n4c5lZoNWmw8CqUI96/1fU7MXbGrcWcxnjJ4i9veRmxyr+YNdSBDkACVUgycv\nG2n4EShREnZecBYob+oTb3oZFxIks4XTUn1ohXSkpmRdQgu7dD2O07HX/yXx\nVrQzBGuBFJqTPLEwqeGgZ8Uow0B+/JtN6Iy0t4w0u3bCBnmAgOaxdDSyTISp\nX9lh\r\n=vyqq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFM3mD0e3wRQv8ZxfReStAM7R2sh/SW7y5nRjFp4jYd4AiEAjD+5diQ/6El6ZpQG58yIJHWPa2jp/b+CNCGh2eSbHIk="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.2_1627575959119_0.025163527921911788"},"_hasShrinkwrap":false},"0.5.3":{"name":"koas-security","version":"0.5.3","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":"Remco Haszing <remcohaszing@gmail.com>","main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^9.0.0","type-fest":"^2.0.0"},"devDependencies":{"axios-test-instance":"^5.0.0","koa":"^2.0.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.0"},"engines":{"node":">=12.0.0"},"_id":"koas-security@0.5.3","_integrity":"sha512-p2YQ+rPALPkKVlCkosesupvVu5ZaZu+9HTgM8QNttu9VO5DhlQA7gcWQM4EzVRhTEA5E6gK3nH638QAIknmiMg==","_resolved":"/builds/remcohaszing/koas/koas-security-v0.5.3.tgz","_from":"file:koas-security-v0.5.3.tgz","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-p2YQ+rPALPkKVlCkosesupvVu5ZaZu+9HTgM8QNttu9VO5DhlQA7gcWQM4EzVRhTEA5E6gK3nH638QAIknmiMg==","shasum":"3e643bc090fa66d187c2683ca30e845d78df9093","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.3.tgz","fileCount":16,"unpackedSize":16962,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7UHCL/i75cf550MW95lc5Tg5TK9QsttjygZaplsgEzAiAb66H9CxogGqv5v9xlwstzk4ufzTCObkVPX+3MAcJrmA=="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.3_1636549070451_0.719112412525386"},"_hasShrinkwrap":false},"0.5.4":{"name":"koas-security","version":"0.5.4","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":"Remco Haszing <remcohaszing@gmail.com>","main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^10.0.0","type-fest":"^2.0.0"},"devDependencies":{"axios-test-instance":"^5.0.0","koa":"^2.0.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.0"},"engines":{"node":">=12.0.0"},"_id":"koas-security@0.5.4","_integrity":"sha512-+H2Fd7FFS0k0lxS8FiaYc/JxKwFxfTDn6mQQD9/4kk9GHnhzbPmD8ypnrV/Hsp8c9ysIcxOy6mGPOSow15Q2JQ==","_resolved":"/builds/remcohaszing/koas/koas-security-v0.5.4.tgz","_from":"file:koas-security-v0.5.4.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+H2Fd7FFS0k0lxS8FiaYc/JxKwFxfTDn6mQQD9/4kk9GHnhzbPmD8ypnrV/Hsp8c9ysIcxOy6mGPOSow15Q2JQ==","shasum":"ce6a4ac87db1c503fc5b398a323cddf036846221","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.4.tgz","fileCount":16,"unpackedSize":16963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1FGKCRA9TVsSAnZWagAAYGUP/2rIVa/SCeikfbTHL8vd\nivbye+PB3pUSxbgtVRSHAlvNt1qv6hdhGG5kNonf6H7mdADWdhriI5MvdCmf\n/H/Xm7nHY6HXjXSWCDc2KbXaluaQu2+ZD+gWvE90LxbzKOuzV9VY64EvoIRH\njzaW1Eib+oxA6n2208ioHdG0753gYKE9wcAJPZDcz3h8Sw97hL42Dvg3mh7I\nrZ2bLS7lvPauOLlPrgmtMzxKNlQ9ljbOj6KACRcMHJxnFaz9yudt7v0hxYVi\njLu46pudOQzHO+uzPpdtd5JksKIpEwjPhCrDSZ+wQeG3F+eebd6j05sR+oaS\nTuHVzQ+R1CUVmOdfjJYg/ZUr4BUWrG22JGTX+17LXtqk6BmFUqVgsa3u4WWV\nmnnFMTwM/Bo7iO9P78jx5n4xLdA2DXNYeh9xy44+xgqnTZ9ojFlPV1rCDdNI\nJTWlD/Ae9+8Kr/XS1kuhKrJtcBif/X6ZJI55DnDFNUv1VyJclH0AT+1Ua8ko\nCktXgQ03ZNJVUY25TMncTFWcy9c9AfZg7uoOBeM9zX3MbHFM3TvBKplppViA\nOCThDfuhU3ObYMLhL5t37f7J/LRul3wWCKIzuNxg4nIhG1Oj9ApqRTK4zJAP\n0D42davVQqv90xyJY/F5KPRDX2MV89/23wquuateIUhRe/4SAjuAsHBsOmZ+\nX4x3\r\n=xPHx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrfWTlEjbvUuagHZqRk/M8WHXciGW02Sfv8CD6Sq3Z8wIgP0Xu7rP/vFQ45i9m2CYyfOkJWr5dqtKM/5Ysg6N96zs="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.4_1641304458144_0.03043802679021801"},"_hasShrinkwrap":false},"0.5.5":{"name":"koas-security","version":"0.5.5","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":"Remco Haszing <remcohaszing@gmail.com>","main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^10.0.0","type-fest":"^2.0.0"},"devDependencies":{"axios-test-instance":"^5.0.0","koa":"^2.0.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.5.0"},"engines":{"node":">=12.0.0"},"_id":"koas-security@0.5.5","_integrity":"sha512-ps9LxJWNNbtuI0L9KbqAFR1FLpJ4ARLBVS2kRJkDVms4+HxEf4wNzpocvH21fEHlu7Q30vLzJDHoboIyYAL+sQ==","_resolved":"/builds/remcohaszing/koas/koas-security-0.5.5.tgz","_from":"file:koas-security-0.5.5.tgz","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ps9LxJWNNbtuI0L9KbqAFR1FLpJ4ARLBVS2kRJkDVms4+HxEf4wNzpocvH21fEHlu7Q30vLzJDHoboIyYAL+sQ==","shasum":"2f16d452c1d7ade352ec5849a8b4f4f0da6addec","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.5.5.tgz","fileCount":14,"unpackedSize":16963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5X1XCRA9TVsSAnZWagAAwDcP/3jKXNPTr4RoqtpvzZY1\nTsQOtYGZLmj/Jb2mopSt357w7OYF+pn8UEjCUDxsY26DYq05qx4kJkWLrNRE\n7rFgNYdp9+PqQdmOqHDBC40OvXG6DFqJTbm9PVdpSLKrW/OZ7lhjklbjlj3b\nYR8D7C+cRXdQnR4ND6vjXgpxFdgazjDXPwj7c4fqWvCt9UXzVbN0KXTEeNm7\nz5COAQ9ddH6eCAolZRfP93SIjdfkcixvdh+kcXGBcmnGp4rmjaFg2rMip5lU\nLK56Rux9FZ06dnkc2IBQ/magzmngGIEf+RZctWQ2erhSioROXQ4BPpwql1yZ\nJoKZQLKyGRHeb6P1e8/5xD5fEbezgO6uTwA/I203Wfophje8vptaPTgY5c4P\nyh2c3OVROxdjCDlxOLuSGo0+Nt/hOKtt9Wkjj+OeEOJBWDQU9CIHgZzwiGWN\n7btQKQtv2lNXdA+e4sbBTKu/8kp3O7Z2Ym0qszV9O1uX10SWudDZfd0G7SeV\n/u2MUxVMXrDq7E4w05fLmNYF6sWd/q3rnClIK4Jrck5c4XJB34PZQJbZPHOW\n6Br5n2W7prWAgG6uiBmZysPCH16wSkjWXhG6h3l9ocJi+mU+6WIp8YU71mHR\nqnZrOXdZSkMtPUbN3vpwpOZJeiSsjrLlECcmjYT3JNJqThoLT6Bic6FY+7/6\neH4T\r\n=z1MP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAzNPySgMUnCx5Vr6WjB08puwucG24mq7mQ4kJ2hSuf/AiEAq2He+tNIIrBn8gEMP5wzZWWu3FswZThhh8Q5FQk6Nc0="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.5.5_1642429782773_0.769570400167932"},"_hasShrinkwrap":false},"0.6.0":{"name":"koas-security","version":"0.6.0","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^11.0.0","type-fest":"^2.0.0"},"devDependencies":{"axios-test-instance":"^5.0.0","koa":"^2.0.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.6.0"},"engines":{"node":">=14"},"description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.6.0","_integrity":"sha512-x326rPDucoh8Tm2JllufgjdY7CzqhchfIPEEsO7d5XRCurqj3Cl1s8rik5LN2fHrIibNaNtbVViinkk38Ax1vQ==","_resolved":"/builds/remcohaszing/koas/koas-security-0.6.0.tgz","_from":"file:koas-security-0.6.0.tgz","_nodeVersion":"18.1.0","_npmVersion":"8.8.0","dist":{"integrity":"sha512-x326rPDucoh8Tm2JllufgjdY7CzqhchfIPEEsO7d5XRCurqj3Cl1s8rik5LN2fHrIibNaNtbVViinkk38Ax1vQ==","shasum":"55d2e2dbda1bf8220bd641679d65ce34ea599a81","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.6.0.tgz","fileCount":14,"unpackedSize":16984,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiiX+WXpww9JPAT1+wyyj9R2a0jlNiqqlukGy5CYwdmAiEAyiz2d5I1p7D9JW5FnIvdA4rtEGbsNDNH+Q3PDervOZU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJighfiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzYA//YurxsqxW70D8hv5QZF0XAom9fUIE8jZYcwpq0R4E6tL1XcP7\r\nbVFLwSLcuzBFfQCDJl7eYrGBzjL/A0pCuTjDkxlGHhQQD8wuJLirYuofbSzV\r\nCNxRlpIjqGxLk1XEHdHNXY5JHkHR16BQfXaNMrpJ3JFVPTq6YRKuaz8BPO3r\r\nLP+mXwyyj58IWMQhwW09fGmOmeugbX+22ETYiYzQ6c8e1wlV/Rv6XkPCKK7+\r\n9PjGsA4oX+YLGdfBsE9buMvXuuRr5LkBh+r04gJkj54KQZvTIDtEcZRU1ORg\r\n8B4G3vFxJWl+sVvTqfJqSeSvrBCC+pTT5AgChGSdG2CGOX5eNuNlAZ2orUU5\r\n0AhEEJ7+RqjK/EbvmK1oWLUEoLPT53J92OYsuR7yurMO5xjnyWeMqkLY3T+T\r\n6UtHs51w+hyVDuEgrdnIRHWOcDGnLAgUMbSzAGWu7ZAPdlwkINEJLlXzfj18\r\nKdeR0yQrX5IXlk6H+NZq+YClM6AKavFAmH8b8JMPU0xxHgfkf8S4VlpSFjm5\r\nqPH2woHCytStrh9ztEbtDr3YwYM5IPjYhR+DrGKkz1WPzD5HYcVWtfrSNiG+\r\nFg+k7wD2BKRi7cMa/sqLgh0O82ByvzYEyUrad9wpFIFWQqT3nL8rJRbzGVW0\r\nBVeC7ZZUMKJpyV2ud7C65V5VT8/V8pl5G/I=\r\n=GZZk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.6.0_1652692962225_0.7883224765615449"},"_hasShrinkwrap":false},"0.7.0":{"name":"koas-security","version":"0.7.0","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"main":"lib","scripts":{"prepack":"tsc --project tsconfig.build.json"},"dependencies":{"openapi-types":"^12.0.0","type-fest":"^2.0.0"},"devDependencies":{"axios-test-instance":"^5.0.0","koa":"^2.0.0"},"peerDependencies":{"koa":"^2","koas-core":"^0.7.0"},"engines":{"node":">=14"},"description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:","_id":"koas-security@0.7.0","_integrity":"sha512-GR/KyQqMsqx7BjCaN+uBEutq7LZeTPz7LElwJsHlDm8K7dt1VX6zIsbmVyk0DEHfF5aL6M/PK1YZscjkteJVFA==","_resolved":"/builds/remcohaszing/koas/koas-security-0.7.0.tgz","_from":"file:koas-security-0.7.0.tgz","_nodeVersion":"18.3.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-GR/KyQqMsqx7BjCaN+uBEutq7LZeTPz7LElwJsHlDm8K7dt1VX6zIsbmVyk0DEHfF5aL6M/PK1YZscjkteJVFA==","shasum":"e7436a362b603c9fbc568fb95944da0028638211","tarball":"https://registry.npmjs.org/koas-security/-/koas-security-0.7.0.tgz","fileCount":14,"unpackedSize":16984,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCidAsv5qtKszh6qgALvG8tctpg9NSaRbFwv34YbZtrzAIgTF2d0ojvAymjl3YGN+hisiJh8AoXAanT8MRBdUsxJJ4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqIjLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1EA//ZxhztixxI/QEJS70q46qUV28mjjucX2ESp9B9pPNQEVMhuGy\r\n7hjo40r2D87ksekFcKl5/lhmhYeh9uOebmzxDi43Se2z0sn1XJCayo9rL/Wv\r\nR5E6ZalC6RLTO7ba/JUyTJXUO/DekbPC28W0BkM/aDSwkHc+2ioFrRBHD/zF\r\ng0QDZCgAv8iE+dH3rXpp/cV/A1nwYJ1rub1yKrU/CycUgOEkcjWw24AotdCd\r\neY5mO475pDkjgS9E4jX5FRALCGU1hZSX7So9XzF6iaFgrWKs+qOCY1gi/nRg\r\n1yUOXg7iFZRqfRej8oDkWhz84T7GJ4Bn6Xi2ORBfq1thdQYhkafMaMdSZCbm\r\n/TX6zIfmomMpULDUJLnEcIDLdgwrqwK2xj+B0lLmk1z0w717g6vyXVmgPuVH\r\nY0MMcHg3ItEXkAkeia4HWjnDc+fQmHlPTF2SvRHa09orUEQCrtTd+6zzlB+P\r\nnIx6WPjNJtVjvNkzCRdVmhputeK9tRQZZ2YJfeesc0v4vCle94th2qFGHnqY\r\nID2LWYX1ru/fgdfomG9PYWfXq14AIYpyk72g+d7Qm61T6QwcuO9R3lZRAsgQ\r\n/+rgfIO1pQ2udXDIKvx1eU9x2lgGtk/SxIgq9eQAu/6+ADdAS8noWVIONNNw\r\nktG8Rb43NIalpN1Eyo+cS9lSPpVYr/qdBuA=\r\n=jElL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koas-security_0.7.0_1655212235758_0.266538835120963"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-28T08:32:43.863Z","0.1.11":"2019-10-28T08:32:43.996Z","modified":"2022-06-14T13:10:35.985Z","0.2.0":"2019-10-28T08:37:23.729Z","0.2.1":"2020-03-23T09:22:31.951Z","0.3.0":"2020-05-06T14:09:55.537Z","0.4.0":"2020-08-30T14:24:36.496Z","0.4.1":"2020-08-31T06:47:48.141Z","0.5.0":"2021-01-27T21:06:28.629Z","0.5.1":"2021-01-28T21:12:13.874Z","0.5.2":"2021-07-29T16:25:59.319Z","0.5.3":"2021-11-10T12:57:50.667Z","0.5.4":"2022-01-04T13:54:18.292Z","0.5.5":"2022-01-17T14:29:43.013Z","0.6.0":"2022-05-16T09:22:42.381Z","0.7.0":"2022-06-14T13:10:35.917Z"},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"}],"homepage":"https://gitlab.com/remcohaszing/koas/tree/master/packages/koas-security","repository":{"type":"git","url":"git+https://gitlab.com/remcohaszing/koas.git","directory":"packages/koas-security"},"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"bugs":{"url":"https://gitlab.com/remcohaszing/koas/issues"},"license":"MIT","readme":"# Koas Security\n\nKoas security checks if a request matches the security requirement of an operation. For example,\ngiven the following partial OpenAPI document:\n\n```yaml\ncomponents:\n  securitySchemes:\n    basicAuth:\n      type: http\n      scheme: basic\n    cookieAuth:\n      type: apiKey\n      in: cookie\n      name: key\n    oauth2:\n      type: oauth2\n      scopes:\n        email: Read the user’s email address.\n        profile: Get the user’s profile.\npaths:\n  /me:\n    get:\n      security:\n        - basicAuth: []\n          cookieAuth: []\n        - oauth2:\n            - profile\n```\n\nKoas security will make sure the user is either authenticated using HTTP basic authentication\n**and** a cookie named `key`, **or** using OAuth2. The first authentication requirement specified in\nthe document wins.\n\n## Installation\n\n```sh\nnpm install koa koas-core koas-security\n```\n\n## Usage\n\n```js\nconst Koa = require('koa');\nconst { koas } = require('koas-core');\nconst { security } = require('koas-security');\n\nconst api = require('./api.json');\n\nconst app = new Koa();\napp.use(\n  koas(api, [\n    security({\n      // User getters\n    }),\n  ]),\n);\n```\n\nThis middleware sets the `users` and `clients` variables in the Koa context. These are mappings of\nsecurity requirements to authenticated users and OAuth2 clients respectively. Also `user` and\n`client` are set to match a single user and client. Since most API calls only require a single\nauthentication method at a time, this can be used for convenience.\n\n## Options\n\nKoas security takes a mapping of security requirement keys to user get functions. The signature\ndepends on the type of authentication.\n\n### `apiKey`\n\nThe function accepts the API key, and should return the user that is authenticated using that key.\n\n### `http`\n\n| scheme   | Description                                                                                                |\n| -------- | ---------------------------------------------------------------------------------------------------------- |\n| `basic`  | The function accepts the username and password, and should return the user that matches these credentials. |\n| `bearer` | The function accepts the bearer access token, and should return the user that matches these credentials.   |\n\n### `oauth2` / `openIdConnect`\n\nThe function accepts the access token, and should return a tuple which consists of the user and the\nauthenticated OAuth2 client.\n\n## Declaring clients and users\n\nWhen using TypeScript, the `Clients` and `Users` interfaces can be augmented to map security scheme\nto custom types. For example:\n\n```typescript\ndeclare module 'koas-security' {\n  interface Users {\n    basicAuth: User;\n    cookieAuth: User;\n    oauth2: User;\n  }\n\n  interface Clients {\n    oauth2: {\n      type: 'oauth2';\n      scopes: ('email' | 'profile')[];\n    };\n  }\n}\n```\n","readmeFilename":"README.md","keywords":["basic-auth","koa","koas","oai","oauth2","openapi","security"],"description":"Koas security checks if a request matches the security requirement of an operation. For example, given the following partial OpenAPI document:"}