{"_id":"cognito-at-edge","_rev":"23-1cf34311c061affbee50d60f0594ba13","name":"cognito-at-edge","dist-tags":{"latest":"1.5.5"},"versions":{"1.0.0":{"name":"cognito-at-edge","version":"1.0.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Innovation Labs","email":"aws-innovation-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.0.0","maintainers":[{"name":"jeandek","email":"jean.dekernier@gmail.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"75dcb7ed037e646dd586ac86e62409babbb99144","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.0.0.tgz","fileCount":5,"integrity":"sha512-dCqjAir+8iPfyk7/+SIrBk6SZ4J7nwTUXEtRd5r8uUnsjemWWTrNfUCGV/oeh/5P7r6hW7+11AZt+RxeQEURrQ==","signatures":[{"sig":"MEQCIFPaFiL9LU3yaOE0SNpCqNqz+XFsfavEEVt6i+eOs56IAiBAuj2E8caFY46EgQtOM2Sxq9FAVQGpWPj7iBpFvrQLHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2aK1CRA9TVsSAnZWagAAvkQP/1NmsM9Snk8CP0bkz9NE\nIMy2qvQXgI3Dn7ooCaS9kMNnIjhgtIGIeX0DpGXG1Fwn7yJYH5vUJ1At9tAd\nARaiJlhxqudvYPnmAx/ktJ8kpEmYUgvGcYdl3KmjiDdc6HgEBHrcV6yyh0Sy\nE2VRbPh4PsWMRdv2m+cVMZz+T77kXPe9fKzWRhGZ9NzMTBsPabXgV/ucS20F\nB3wyuE8ZCAQvTtJfVuDAOYUzgRyxGAzehnw82nSAqmtrCzTyCibNSQl1NOBT\n9fgO9tcueHr68FvDTFmFkiSWloQbKkt4IYMbyRcL6k6R5XvPlxR8agWRwS2Z\n+VKn3rGXo6e3URA5+0ou44lDXcEjjCGKlhDQzDB7zs0SdkWe2+8ehC9YCdcI\nvpMzq5c771XbtpHbHh2MhDvVK4AH7zlMB8+FqmqJALLonS2+CrO5l4Xbe/kU\nK88Z+2Bo6zrFQZZxZboJPSAZXtSW8qfkkW5Iqu9bU1VpOAZMIMCkJ+zyM4Xz\nC8nHJBWA67YyOd52KZU3K4+EX6UeCewqHOMuY8Dhhog22K0pCG9TJiDP9Fxc\ncOnG2uPiykpSNg4N2OeaAX4i3r1RKlBjan3CpPfiMSUYRubsDMJtCPRPFa1p\nw0ebgR+t/juI33nZdY3wQKCotbR9+IOR08gGHlwQbJZudhD55k6owBEc5xCP\nBgOk\r\n=fLC4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.0.0"},"gitHead":"127b41eb6f43b2faa3ce9c8951df56d7dfb6f2d0","scripts":{"test":"jest --coverage"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"6.14.5","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.5.0","dependencies":{"pino":"^6.10.0","axios":"^0.21.1","jwk-to-pem":"^2.0.4","jsonwebtoken":"^8.2.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.0.0_1624875701419_0.4269953848301651","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"cognito-at-edge","version":"1.1.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Innovation Labs","email":"aws-innovation-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.1.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"jenirain","email":"jenirain@amazon.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"3d8628d97e57cd4a0f0ee537c2729f6c495054fb","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.1.0.tgz","fileCount":4,"integrity":"sha512-u9pP1PIy+Yx1Uj5GpLH7xr5VNzmCd07GZfRLUV+T3Tc+cbDpvCFA9RgXr51zIbWu/z4Byv/6ZzH+PWkHgXxyKA==","signatures":[{"sig":"MEUCIFvVfKQzZfvdWZjbdrFOJyO3SPtqsO8RdlVKk2j0QqMvAiEA/K/DJnXndBzOzszsJwGavonMOjLvI8vyY75qAnlu7QM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2mZTCRA9TVsSAnZWagAARQ4P/1VAw5zOF4G/X4/vciKw\njSFkHj6/hWcVyMAUyI5OMRM8kl3UFjAel9jmqU1468Nob8fpPds1CcCWGREc\nvMU8UHiqZc7ZSKNu93s4FUQnjT9TaUeXKlSpEIh9LTk2dkzZxA6r/9zMnNl+\nphpDWSh2Ta5zm4kaC4kPS3McTu+HT0hlpo1aQlWS8sJLDqC/mNQsUv6JHUYe\naE6NpeFnAsrvL1+EcynYEps+WLvdPVojnmgfE4Y9rvWTBZ8fmDZfK1zX057S\nIfE9tE5GmoJl0PO2RE01gifFME+4ot9omRz5LQGkBbdBkyqUWIUGH+tBLh2r\n2spGST3EU+dayVFEPrsNDSDitFJKWDK/wljPRFn9rHeHdCLB+iT7LxKoBWKN\nFc8dy6Nzh3HsGiho+8R6shY6ueQgo9sVJVLa5pTmaAMm1O4rC53JmUwHERXE\nQ68b4Dbq5IJWsORMtEM3LkX/v7psc3QEv4m2ow2CBLaYmbOTBYMVACu16y8H\n8OVT2piVI9khRlrDfsQycbyvxh6tD9Xn5QgQE9i+/3TFK6cHduoUfxB/qNQZ\nQet+8aNbZnwO3yMRWF8u/JNeX8UrbARwugsRYb59v3DbkO7ER1Jxb3/JIKjg\nKC1szo6kTVEQWWY1nSEE/x/mRrreQxiwH00K33GDpxLCmZGkjUGEjnH5SoZ9\nrMxh\r\n=ISjc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.0.0"},"gitHead":"5e3494e4b16645bc10278423b9ab20c1c8ede342","scripts":{"test":"jest --coverage"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"7.21.1","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.17.3","dependencies":{"pino":"^6.10.0","axios":"^0.21.1","jwk-to-pem":"^2.0.4","jsonwebtoken":"^8.2.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.1.0_1633448082028_0.7861702351979354","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"cognito-at-edge","version":"1.1.1","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.1.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"jenirain","email":"jenirain@amazon.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"4d21d894bc16b6eac526924cb0610dd7ae9a9df4","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.1.1.tgz","fileCount":6,"integrity":"sha512-vs8ZHIM8pJRgfe/OBQauV/OPqEuqdKiD2I6nBSapygvzQNGxoOEUqlOfFNjOYWlOyS650Vqi+HB9QIQabMEa9w==","signatures":[{"sig":"MEUCIQC6LmTJJqobpQnQRnIh4F+bELaukQ8tSNFqycAWvGC9DAIgFZ7AvMF0/WYWc3L+ooBHbjHVjtppdBc1oRSO6xk9dXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3FPTCRA9TVsSAnZWagAABkEP/REV9HTe+mFLj3PtjgtH\nAmr+hCyf3U4/cmi1vrQkDu2qL4s3AJoG2228TI4H9Tt8C3sbbkTX2BmbK5qN\nNX10pOXP4sMeYEqukvdFgL1VXcSUJ+oSZXtXUQK2/+3diRhG98HGJOesn7BN\nnO1qmVxbGGwQr5fR8/iKMJrjLQtLCMSn+CyO0CIIAx0J5+zNrVD33AS0p6sk\nsTV86tP+izalttySGlxrinfKr3/9ksCPsfOyU26jQ3swuUDhEOAEMrVya/N6\nCwbrnqR4VJhCaCYL2sK0otueYU2P4XrHNKudR0mWjAJ1d0r3W8tcr4n7vD7G\nKCq7QC51uhMrOgLK6L30o3To5lYJdTJFYkMBEuyCE2BkBnni6ga6D6CrfXth\noPgZ0Q0RNKlLoERbo66Di0b/F/YAA0tK/YbhSdrqVyXNmiDlrTAaN48CTm5O\nJaGcvtlYZLE8tjP0xYpRwjntp1oKLV4nGyGdkSHBEgtvjqEEZ8C1yw4hI5Dp\nzPvBz5IegAUCnPWBzF6T+xHTpSTG0hOymlOxmZmpyeeG7G5coV/S4T2QUot0\nLqg/k3Lj+SW5ugi3z1hjQ/hYBeXz0QY3C48cEENAHhPFD7LNsBP7rkoAPyvV\n3jYgXtslbeRLqliY8+IzVRiNvZoK5la9W0t9QC+aML19m+RjDMnb7xK66U1l\nKnSQ\r\n=p3v2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=10.0.0"},"gitHead":"022ddba8334da86a6c154df586080dbcdff24eed","scripts":{"test":"jest --coverage"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"6.14.15","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.17.3","dependencies":{"pino":"^6.10.0","axios":"^0.21.1","aws-jwt-verify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.17.0"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.1.1_1641829331386_0.9725868490359455","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"cognito-at-edge","version":"1.2.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.2.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"jenirain","email":"jenirain@amazon.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"bed51ef1b68247b50e8abcfb4b29516e3a3f21f7","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.2.0.tgz","fileCount":5,"integrity":"sha512-xKsrWIlkrkgqQ2rsfYiI+EtZOlQuoqT4BunHVdS0azB6oPPCUZXgxJtuMWthfsmNDyR8URctMalHC2RSELPOJA==","signatures":[{"sig":"MEUCIHvwUW/yAS3lEweDaEC20gmni8OAgMgf/dQ+K9aQKJGvAiEA1H2LDkBkg3m9sTfS9FwdQwhk3zCtr19N+Sq/bOWkl0U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4UqpCRA9TVsSAnZWagAANrYP/i+c5DhUkYupyGBA5wfy\nt4YRNlCgBV/uYelHaqAqDJCAnl2CEyW/PF9Tqaq6u5idm1WAtKf+LuH8RVR4\nHuj81uHqaOZhbqEn00Is8xGCtlck2i1h5pHS19cDXXg85qkXCiexc8lkDsuf\nMzcN1dWUIQJTjOXth/m1OiifbOAeF3gSjgyIisqiTFqxm5RPKaeriEak3san\niZTWKt0OBPOErGOGNH4rSt03KZA5LdxU1NFrEOGvZ5h2ItIVPHIweDUe7C7w\nVJHS0Geh00tptLX4Dt4IcAF3h7rPxdewLPWyVH3z/HRRtNr1e3koylQf30o2\nuZuuD8sy9otfY7sB/PiEEMW5Zk1TvNx14vBjt3SP2lL5rQMWpgAk0NM+LtOu\n1mCXxV80xCnugECmLzZ2tR0RTJXvXe+YW51LoMcZn/c25IV87FNigpW9FPL+\nip8D8f9akPbb1s+M/LcXHCda/H2M6x4tQFLym50U6sShnQaTLE8lLZI7p8Hs\nXu6yPWvkUev01heFArKq+0tNfenSZi+ZLS8o7CDZCMbq10fGzWzX/U8eJWrA\nTS+pIiDpnurRjRpi3FhWVRr0k9peXELuLd+1zHfdXhYA1k4pODWDSamibfyH\nu5ToFLjg6ca6g0+BClXeaCEy5gJ073oUg0eJt9fKild3lC8FU9qQjprwf1y/\nZSw7\r\n=hqEB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"gitHead":"fbb44cb2a986bb0d6eada8e52a8b4a518dfce25a","scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"pedromgarcia","email":"pemug@amazon.com"},"deprecated":"Version no longer supported. Please upgrade to @1.2.1 or @latest","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"6.14.15","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"pino":"^6.10.0","axios":"^0.21.1","aws-jwt-verify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.2.0_1642154665279_0.5257808307781149","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"cognito-at-edge","version":"1.2.1","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.2.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"jenirain","email":"jenirain@amazon.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"21817beec4c0391445327db4c0664e7afe7c2c35","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.2.1.tgz","fileCount":7,"integrity":"sha512-HSdwoBufLUBTtNDseV106xT9MHnGk1b4dVM5QzE3rafod4zWkAWXEnLr0UaspFuFELAZGcvZmFiw8LTS87fz3g==","signatures":[{"sig":"MEUCIQCUfTUKzpq+YIlGqc34HN3BuEU0yT0uuHUDbyK3E28eRAIgAzAWwAjfqYnWiePfbZADxHVdPwYsrULhKWAGYVH4oNA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5YZVCRA9TVsSAnZWagAAj9cP+QCESg3v3K5kz5Q64yuD\nXhqhn8QbP6oWwdyd+OGb+9M5CpghsKSpBFNOD7Te1VeVx/aFMjSDbDOAMHzq\ngVJH16hFWf4K2aOB8JFmuEkfl/O+D3CRcwWisi5EDZ0gt6LupkxFDWj77zvY\nRK6Ix12B0NAcw51tCssQJcLHM5TU5QXS/Sy6pdoEB4Efq+z3kPOPJdkw7oef\nWDqwgEnvyhrtiQFuDeSztsDJACq28lUmRkbX5RL+K0ZCAF45RXzYyZCBbAff\nV1slJSjzqNWtRHuArcM1h/ssOLm10YxOdnb9P21GPJ1r8CMvtB/GJmoN1wDD\nCP4S3Zo7Mw1zhjvgxkiHOwS1pWxkTQxzcVL0pkPETnmCbMMIFd9V3cvLHL52\nSB//WlwFmKXbcC5zEqINtsUaNrfCP0mWbisveQ+w0vwXNl7zprJEMcK3b2Bt\nfQQHaJ4duSJB/zr51L7SQlE+F2gCGaSvoOjaCWhiXvWf6L9b6ORwZ7B5xrGX\n1bYGF6lQV1+lRvbSs69p3qWaKZr5dk5VajvFOyLQkdUHLvfoYVujP42E0TJ+\nMSOx2JKkV2lPAKvxfbpm12Fu7o6qqHXs3kJNEXzkuEQEZR2BcmRnGGex5437\nwECa6gXlED9xKb7Ay2aegNTqPu302baXg1fuFWsGzPUxYLc7is273fYSE+RY\nAo/6\r\n=UQJn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.2.1.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"pedromgarcia","email":"pemug@amazon.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"6.14.15","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"pino":"^6.10.0","axios":"^0.21.1","aws-jwt-verify":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.2.1_1642432085725_0.0595278706672111","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"cognito-at-edge","version":"1.2.2","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.2.2","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"jenirain","email":"jenirain@amazon.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"439d9ad32de6d6d61267d8db76acb72978b2c48c","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.2.2.tgz","fileCount":5,"integrity":"sha512-tzNuUZ2lD5c35/Wfm0xfUWNko1iQNLnuP3qjj9To7idUBGY5bV3ROrpEPlwdBw957s1AXHpzWk9mSTRu4xe1Dg==","signatures":[{"sig":"MEUCIQCi2KKKltD4FU1vu5NAUW81Wb4jxoCw29MO5jdTvaFd7AIgOvsfXKpT5bLnVznJQotwyQ07egyvdIcKc1sqKtBMG0w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVoehACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqgxAAkUq+EKOcXz4SBGVwg60F83nFH+upTZrWmGcp9hZ096qc4Suf\r\ntZmhb6X7m1U+2sNZ8ChMrUlA3gmV2aD99sbZYInqJYqen0nH2OMyMdQlSPZP\r\nj2O1NKyC3S5EiVrlmMhIBd7FihEAWHcHRNIpmxfoPt7yVlDwAh1+T0bagAEW\r\n0uJqiI431E+qSlVMdiEO3YJF31+ranhhf7bIwh0QOAD0L0XgZtVr4yWqkDGX\r\nePKNENqBSNQIo5cyVzcMz5azvR9kCObHkTPRaJY4q+MxrpUv1jPtC01VrHAz\r\nma52vhw07fQLBY8qC31PWNXxWvHYe9NCrXmRhghpSwLJLnKw0e4cXN734cCV\r\nA5H0VEpzfV6J3mTDTtdlPZrNOoIPgJBEBDf68NGTrVskX9dwWj8Uz/F2dWXq\r\nMu549YX9+GY4al40YuJn2F7HqDeRnfhqw7Vz8VCuklZpMSHLvG+wn4guSbqD\r\nco53bML1kRIQIGrKh+2UbIgenzsG2J2Ooglk49+PINhRv41JbqtJbSraBEnw\r\n7dP5xHdaa8q7PurjETucBjnMZ0Os2udEjUxeOZdMc90aRvdBLZdImcAYNCKU\r\nXmDdjcG4jEYPBHskHK1qihq0bnkcDwJPxtSxtMCdQjRKNnhYikFnrIu0GvoC\r\nED4sOf+P2ApqFcfWilzhUqJoSfoUM1yxdQo=\r\n=fbIj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.2.2.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge-1.2.2.tgz","_integrity":"sha512-tzNuUZ2lD5c35/Wfm0xfUWNko1iQNLnuP3qjj9To7idUBGY5bV3ROrpEPlwdBw957s1AXHpzWk9mSTRu4xe1Dg==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.6.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"14.17.3","dependencies":{"pino":"^6.10.0","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.2.2_1649837985199_0.29512253169230274","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"cognito-at-edge","version":"1.3.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.3.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"c8d0f457b679cab24499582ecb0b8f93f7ed2f46","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.3.0.tgz","fileCount":5,"integrity":"sha512-Wh8nc3wXbCcMtzGKQuqdubquWWwF40yVlyuDv35N9yphWXRkSceyFpk0uZwryrGrzu8YS/4CQ9ab5DsLPSS3ig==","signatures":[{"sig":"MEUCIQDlOzkYf65+vmVMqzitJzBqtKTn6Gjyr2QJSgsx66uu6AIgIPl+9F4K0ofTYzTmIXLAhVw7iLZyUyacR3vaGgOlXrg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfLjIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfDA/8DYlR5sw2VUVnejHeTgDZRih2tdSrqTVbVv2dwuiMgxR4sQCn\r\n3XOMYvNO5GqStX3S3DlXrMI/kob1doSyvxxBAl2tlWNx+/rXrCxfT3jQWUK1\r\nld60GTZX8xBbqJYxufpG7HpjHHjh+pljiQgzXzB0zZJcl/w+Zq0r74XajUyQ\r\n2S4lE09EvZsz/YM70IpDBUe4rzBfp7MGkHfVOZVPZmLMiQYACN44rolR0rSJ\r\n9H1GUOrY3hpIOkrCWzjnvW2klceLASp0voN74q6EK7i/dAGDQSJcL7d4NRWy\r\nahFm9Zgna8HkEQvaqfY1LLlOOIxSOoO5jJ3nT9+KNSm4NsKPeRD8Wy8NX0I7\r\neAEk+0VHCFeEeAq1L6YeXtZ2cuXsmBCqFy1jnylW0vBxUmU04ZGLsuQnUoDX\r\n5XX4+9N4hbV4kbqCK/8FJh4GfngCsm0hlfnCm7P+035j1R2yQq7mjvH+zLR7\r\n0u0MB6tpLMzIJqYr4pUKsIj4lhpMlmH3XwEF7r8+WPgF1cOPHo2nDu8HrJ+S\r\n3YlVP9u35g4jxMyBiQuPFCcOvO0etUHfsTD+Ch1bya3nCmcs2bzGwO0UtdDd\r\npuRbn586HG1zGVcovfd/0FrNL1A2Dx9WP3AKrO2iNjcPr9jRXwz6JZ5HK/et\r\n0zYN28z0Wk2T9/JCjnbMd4C4x3uUlV7bWHE=\r\n=+6CX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.3.0.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"borisfba","email":"borisfba@amazon.lu"},"_resolved":"/Users/borisfba/projects/cognito-at-edge/cognito-at-edge-1.3.0.tgz","_integrity":"sha512-Wh8nc3wXbCcMtzGKQuqdubquWWwF40yVlyuDv35N9yphWXRkSceyFpk0uZwryrGrzu8YS/4CQ9ab5DsLPSS3ig==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.15.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"pino":"^6.10.0","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.3.0_1669118151982_0.7303977516015929","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"cognito-at-edge","version":"1.3.1","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.3.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"75031af6fac9ce6a0ea4480bd66de2bf994702de","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.3.1.tgz","fileCount":7,"integrity":"sha512-4+1tpMqsTeE+bbxcioNS3ct9l1Kox/6Ie2j2urgozNnq+Y9IzD3mJj3Udyec/dic0hoZ/EskqJR2BDeKQuhVOQ==","signatures":[{"sig":"MEQCIFEOmdRTf/uvcTNgZQt0a+hnTaeyn0WExbRCVXqhFyocAiA+zvmnsB1K2+/pG96BLEo3Gwm0w1/0KFT0i5geOQpppQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjivTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+rA/+Mj2u8QPAtbqwmz0Mo2wjy9QfJi7GWjxbHEpcqD14Yint+/ch\r\n1dEDVKJMjaQ9HpZH3RQYaNWIWy1iW1E72chfFtIIJ7CVMfnyblZImCaLQoFt\r\nKKT1frPGP24TwYGvxXs8d3N6tAp3+96nxUokQM2VfDKbp60H+Q2DvZkiNwYV\r\n49DSAvngo6V96gEnEmIdhxVnMthtepenG/IPxpB4am+9g94EdTMXoBsbuVYD\r\nPhSy8EpxLRszC06zWYrN1M3GHy5pbczkJQRnhpq+PWbREaajA9uPZY6x12af\r\n+4D1Kw1kHbT6CLAtA6slw7GokjSFSHP7xp5cbzGEe2W8OoXQ3ZqtMyZwyX+n\r\nSBmwNdTXrNTFaBNUohtG5Tltx99PcTtjuqxwILEgZSY3CKPHJznOm6ekeLet\r\naKwMpLryMcnxLGg/Y1ty1Mc1ZmoyoTTSc1Nx5EpPGpkiwxc3ugIssewMVZCT\r\nTxOOrFbjYUIPncNhIRfoNiBD0SEkL6cDxrbPHePZiUQHEnvmh54dviTqntuY\r\noeFpqSC/UEKJP7JzLl/LnGNP9nTajLfbS3ZaITEgK0wgfhEJfIv0ZjprWCXj\r\nzm+0zJfcBDAq4Qms6DxVM97ILlHq87oHA0IoLISOeXeSdyRhJMGx7gy00H9/\r\nUTqBaO77U4H4La9HKjSkLBBNhL1OyXyS5Fs=\r\n=jM0U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.3.1.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"borisfba","email":"borisfba@amazon.lu"},"_resolved":"/Users/borisfba/projects/cognito-at-edge/cognito-at-edge-1.3.1.tgz","_integrity":"sha512-4+1tpMqsTeE+bbxcioNS3ct9l1Kox/6Ie2j2urgozNnq+Y9IzD3mJj3Udyec/dic0hoZ/EskqJR2BDeKQuhVOQ==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.15.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"pino":"^6.10.0","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.3.1_1670261715215_0.6557336264838993","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"cognito-at-edge","version":"1.3.2","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.3.2","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"b4324e09912cf17a9ceca84da254f34e370c786b","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.3.2.tgz","fileCount":7,"integrity":"sha512-1998URJS6TRHrlU9sLLAG+MciWu28WvZB5MDkEqiiV+Xjk346w7nOVTSZFdq8F6YpOBvn+20NlBO38h+9Ius3A==","signatures":[{"sig":"MEUCIQDlK9FgLGQbyfitiAY1YFsF2/BwAxnQGMLnjfZADV5GmQIgdHSWRm7LaDK+Z5/6rM4OzH+v15vFj7bD8ZMI+ET2dKA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8y+tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1Nw//U8cvm4eYU/N1+n3K7gDczjb9frO3nXnK2bPiWQVxILOVvh3q\r\nwD+a2eqtqBChtgjj1jERoUoFqB7jRpFIBGa4x5meq6duKLJHLAunO0ERe3MN\r\nCdBXkg0GbtYNAqqz4xF2/DZ5QkiArgWqc9tB9vEMC2m2D1Cx6P2PVOBZTWJF\r\nKry41GMT4N9axLK1wv5ZjYOGE8PjZlo522g2VTzoYYLXYVPmlRYk3zYI3d5j\r\nJsdzJnTY3dG8a7DQcAMoBf0fvVhMXkHnADKWjcSBU+kBQHC58MB/QQTZcmf/\r\n3V47C5KjY7aTngwowjP0x+F7O5os8oYcQD7Afmo+Bqm44ljLd0fFnsVY5z1S\r\nzoviNOONEZ5vl2MsrP9z6N8QsuMQ/sEdhleDJfL6LrWggjjFUOy65oSCzZfh\r\niox2oaqkC75TgYGzVizjSDZ2GuD41bzhVVFajMJxSwccFhr4rGOJa0qwyhB+\r\nv8+9X6+HgPjtvim63kRT3QavMBdqABg9oLIswI70aDB3pR2e7f1pyFxxtOrK\r\n8xXQO9Rcj//0D3hDAIB38snCBUMJsH1fYQ/Ex2MtwN0D192qa6wibWeZuF8I\r\n5dwJTPuOKfZj/caCrAJUU8r+/TCGtQhD0UvMpjPqPOG1/BsTf/UmX9Vvlneq\r\nrVyraPzH/zvjwOjl+0/nNtkPtdhIt1DGANw=\r\n=EPjK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.3.2.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.3.2.tgz","_integrity":"sha512-1998URJS6TRHrlU9sLLAG+MciWu28WvZB5MDkEqiiV+Xjk346w7nOVTSZFdq8F6YpOBvn+20NlBO38h+9Ius3A==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.19.3","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"16.19.1","dependencies":{"pino":"^6.10.0","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.3.2_1676881836702_0.6989761311941782","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"cognito-at-edge","version":"1.4.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.4.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"40aab9b530d586bf13052094b8b783fbfb77e9e0","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.4.0.tgz","fileCount":7,"integrity":"sha512-3zatqZrD5akm1Avt5sLK4cy0teUVfG6xSGqMQ9IwDr9dv/LwpE5uFekdVwyglM2KE0gtOPy0kIeAr7oyDTgEzw==","signatures":[{"sig":"MEUCIQDSXEMNoUNDevZx7/fj/lLcxBGVwEnkaU0ZcKm12NPoNAIgA7z5VJ9jpysdc4JgqYe2jf5p7wbDOMU3yZsMCYI5hWQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPpbQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvpA/+JfCB2fmAeUfnV1Altbqm34H4hGSw2HWo5st6Tit6VvYW5jQI\r\nywjX6rAyp6svYOz0fm5ckMreMfN0a73tE/257FyF1xowPUc2lf94lf3tSfV4\r\nTLMV4F/zO89euGi0UJb+2ob3KX+moPqnpcoRTlyic+WJx8z8532mIN/EtSAQ\r\nccF4iY8tdUyvrurAMBqjnfv0YHGHpL4+nh5t2eAtnZvJikuqoCYkciNZAsFC\r\nn0SIXJUT10J60oQbvcmkb/bikN+hIbRZiBHTZKSCoV3YricAWtvGGILNp7st\r\nT4iTe7DUXpWHOt8+LXrgU3u5Q5L+q4mrG26z+L218d0hFOLUC5p0Uy2jw6NX\r\n4dEnkif+6jnKtc3EVdoU8fqzDFCB/dbY8X3gTJTv9cRiHLE9FWyTNlosaq6o\r\nFhp6e3EHtxMCsDadaSQCVbDrN8cxXubx8gvx0CsvUANaNeCMG2AoUD7qBRMj\r\nJVbN1j7L2S0MU8JaqjciYgC3AImI5rTVb2MAER8zyupHUq/TbeYxU05lQDsg\r\nM7KMNnko9nc5GKzigdJkC42Y7rHjRxn7cr5V7i3rbHc51GVrjfK85Zv11YK5\r\n7B7D50e0yV4DZ0FlLvtKPDq/tn3AT4wfSUO/q39JCCdvLwqhfBO5lgeR+qCr\r\nLGPWQwfkGZONWJ8R3C1QPR4XDDXbliIHxtQ=\r\n=BJaH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:cognito-at-edge-1.4.0.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"borisfba","email":"borisfba@amazon.lu"},"_resolved":"/Users/borisfba/projects/cognito-at-edge/cognito-at-edge-1.4.0.tgz","_integrity":"sha512-3zatqZrD5akm1Avt5sLK4cy0teUVfG6xSGqMQ9IwDr9dv/LwpE5uFekdVwyglM2KE0gtOPy0kIeAr7oyDTgEzw==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.15.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"pino":"^6.10.0","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.4.0_1681823440433_0.13106303060007884","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"cognito-at-edge","version":"1.5.0","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.5.0","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"e1092553f0ed8e3bd9cd90db2845b6bdad20bdef","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.0.tgz","fileCount":9,"integrity":"sha512-DvClgjqoqawljwKOi+wI5VUJH9yXZHSoc80NvQlUX9bYYbVkEYUG85ygMRQ+stFXFt2JtjIjI+rXfIYb5My2nA==","signatures":[{"sig":"MEYCIQDQ4q3AX8DvgiGAIBTlnpW4K1zZufAwBHVARXbdNUKaDAIhALor9GrrXHf4HB4s1X/y+89bb6uhtQ2VqEZuWbXXtqQi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74300},"main":"dist/index.js","_from":"file:cognito-at-edge-1.5.0.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.5.0.tgz","_integrity":"sha512-DvClgjqoqawljwKOi+wI5VUJH9yXZHSoc80NvQlUX9bYYbVkEYUG85ygMRQ+stFXFt2JtjIjI+rXfIYb5My2nA==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"8.19.3","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"16.19.1","dependencies":{"pino":"^8.14.1","axios":"^0.25.0","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.5.0_1690185036592_0.6809526178716221","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"cognito-at-edge","version":"1.5.1","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.5.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"74986947db3e3f05441c9319e03daf3d161591ac","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.1.tgz","fileCount":9,"integrity":"sha512-xFEs30CH0oOK25gXXAblyOOMFV03HXN+xS8jpkpBKOu7+QfKYWO3mrvbmxAGxBa+BfLjw2sM3369EjdR1apaAg==","signatures":[{"sig":"MEUCIQD5gPb3DRzmI0qG9QZP1f4Ueh4z+CnuLz+gj6eDtIzzSwIgPSUuSUhIb7zBYj/F1g4W3UlOKO9Ug0ivXISQ87Qv6mE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74520},"main":"dist/index.js","_from":"file:cognito-at-edge-1.5.1.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"lint":"eslint .","test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.5.1.tgz","_integrity":"sha512-xFEs30CH0oOK25gXXAblyOOMFV03HXN+xS8jpkpBKOu7+QfKYWO3mrvbmxAGxBa+BfLjw2sM3369EjdR1apaAg==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"9.6.7","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"pino":"^8.14.1","axios":"^1.6.5","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.5.1_1709558350599_0.24336449239878588","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"cognito-at-edge","version":"1.5.2","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.5.2","homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"a5a74609d62b25be6667ff78a4da7aa53bbe04a4","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.2.tgz","fileCount":9,"integrity":"sha512-X8vSa/VlhEZISmx3Fu7WRzk4hq8O3REIhJQXXITYywKvHUmjgAbt+LL4RnNg7JjZu5wLVC0Flj9X9eWz8vBjqw==","signatures":[{"sig":"MEYCIQD/IYi6WIO5Ni4dUlaem24daga8Q3Yun0UixQQuxZp88gIhAJDp+QpI3htk2ABUNXsZuLsCaWCXNPwIvlOKfJXbW+xb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74520},"main":"dist/index.js","_from":"file:cognito-at-edge-1.5.2.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"lint":"eslint .","test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.5.2.tgz","_integrity":"sha512-X8vSa/VlhEZISmx3Fu7WRzk4hq8O3REIhJQXXITYywKvHUmjgAbt+LL4RnNg7JjZu5wLVC0Flj9X9eWz8vBjqw==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"10.5.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"18.20.2","dependencies":{"pino":"^8.14.1","axios":"^1.6.5","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.5.2_1719568014697_0.33339550465886725","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"cognito-at-edge","version":"1.5.3","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.5.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"41937fcd13ee2f2de0dd1e27903f2d08e2467581","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.3.tgz","fileCount":9,"integrity":"sha512-bKINjOKd5NWghrRlaN2y3LmoEq7+8B7nR1r9Glwl76zwal35XDlC0nbHi0yXQPKAeI/CJ607guo0kA6eqIepeg==","signatures":[{"sig":"MEQCICuiGcBvLBzK6c3lo30pTXyg85j1ZpDmwQvUMT582l7HAiAconbTW//TP7ofpx+I2aF5G9vULqwdw5gyZdjWDn6yBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76707},"main":"dist/index.js","_from":"file:cognito-at-edge-1.5.3.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"lint":"eslint .","test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.5.3.tgz","_integrity":"sha512-bKINjOKd5NWghrRlaN2y3LmoEq7+8B7nR1r9Glwl76zwal35XDlC0nbHi0yXQPKAeI/CJ607guo0kA6eqIepeg==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"10.5.0","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"18.20.2","dependencies":{"pino":"^8.14.1","axios":"^1.6.5","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.5.3_1723640862268_0.7821025678427607","host":"s3://npm-registry-packages"}},"1.5.4":{"name":"cognito-at-edge","version":"1.5.4","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","_id":"cognito-at-edge@1.5.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"pedromgarcia","email":"pemug@amazon.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"homepage":"https://github.com/awslabs/cognito-at-edge#readme","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"dist":{"shasum":"d738671ee25165b2ad071dca3b3fe12cd49fe28d","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.4.tgz","fileCount":9,"integrity":"sha512-v1K7xkb2BxMk/fwnYVpPTUAqt8BSKfiUpUNxjc2HHFVLAdTHGGkYoEHL1x0QeJlViLAekg1ruHiV4Q1cMasqjg==","signatures":[{"sig":"MEQCIBfQ5NO6PuKCfGQ1SLJS44z+ri3TZ2kdXKoNj7VV/0OkAiB56sCPTRsaaSZt/x6DZuUnOae/ZWhV29bR6kicgPH2Uw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74667},"main":"dist/index.js","_from":"file:cognito-at-edge-1.5.4.tgz","types":"dist/index.d.ts","engines":{"node":">=10.0.0"},"scripts":{"lint":"eslint .","test":"jest --coverage","build":"tsc"},"_npmUser":{"name":"jeandek","email":"jean.dekernier@gmail.com"},"_resolved":"/Users/jkernier/workspace/cognito-at-edge/cognito-at-edge/cognito-at-edge-1.5.4.tgz","_integrity":"sha512-v1K7xkb2BxMk/fwnYVpPTUAqt8BSKfiUpUNxjc2HHFVLAdTHGGkYoEHL1x0QeJlViLAekg1ruHiV4Q1cMasqjg==","repository":{"url":"git+https://github.com/awslabs/cognito-at-edge.git","type":"git"},"_npmVersion":"10.9.2","description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","directories":{},"_nodeVersion":"23.6.1","dependencies":{"pino":"^9.12.0","axios":"^1.6.5","aws-jwt-verify":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","eslint":"^7.32.0","ts-jest":"^27.1.2","typescript":"^4.5.4","@types/jest":"^27.4.0","@types/aws-lambda":"^8.10.89","@typescript-eslint/parser":"^5.9.1","@typescript-eslint/eslint-plugin":"^5.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cognito-at-edge_1.5.4_1760646495623_0.1549544003800607","host":"s3://npm-registry-packages-npm-production"}},"1.5.5":{"name":"cognito-at-edge","version":"1.5.5","repository":{"type":"git","url":"git+https://github.com/awslabs/cognito-at-edge.git"},"description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","lint":"eslint --cache .","test":"jest --coverage","prepare":"husky"},"dependencies":{"aws-jwt-verify":"^2.1.1","axios":"^1.6.5","pino":"^9.12.0"},"devDependencies":{"@eslint/js":"^9.39.2","@types/aws-lambda":"^8.10.160","@types/jest":"^30.0.0","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-jest":"^29.12.2","globals":"^17.3.0","husky":"^9.1.7","jest":"^30.2.0","jiti":"^2.6.1","lint-staged":"^16.2.7","prettier":"^3.8.1","ts-jest":"^29.4.6","typescript":"^5.9.3","typescript-eslint":"^8.54.0"},"engines":{"node":">=10.0.0"},"keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"lint-staged":{"*.{js,ts,mts}":["eslint --fix","prettier --write"],"!(**/*.{js,jsx})":"prettier --write --ignore-unknown"},"_id":"cognito-at-edge@1.5.5","bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"homepage":"https://github.com/awslabs/cognito-at-edge#readme","_integrity":"sha512-GWmm1A4xAcJEULtJkeFMCc+7A6dp4880GFyWbIFp2yizJ0XxA2nnv6G96Tvp//kfHeZ4Xk0vX4Qv5cdkBxDgBg==","_resolved":"/Users/borisfba/projects/cognito-at-edge/cognito-at-edge-1.5.5.tgz","_from":"file:cognito-at-edge-1.5.5.tgz","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GWmm1A4xAcJEULtJkeFMCc+7A6dp4880GFyWbIFp2yizJ0XxA2nnv6G96Tvp//kfHeZ4Xk0vX4Qv5cdkBxDgBg==","shasum":"0a4cea3d26051c0700323eabb8e3ecf697ac6b94","tarball":"https://registry.npmjs.org/cognito-at-edge/-/cognito-at-edge-1.5.5.tgz","fileCount":9,"unpackedSize":75642,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEJ6keB8/pRlqPETI3O/Gi7rpyTIUevESxUyLVWq1KOeAiAwQhGqDCe4KbI1bW6KZzZOekF1JYywAjOoZtwvmlEGxQ=="}]},"_npmUser":{"name":"borisfba","email":"borisfba@amazon.lu"},"directories":{},"maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cognito-at-edge_1.5.5_1787063955331_0.65842286552213"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-28T10:21:41.419Z","modified":"2026-08-18T14:39:15.621Z","1.0.0":"2021-06-28T10:21:41.586Z","1.1.0":"2021-10-05T15:34:42.293Z","1.1.1":"2022-01-10T15:42:11.517Z","1.2.0":"2022-01-14T10:04:25.420Z","1.2.1":"2022-01-17T15:08:05.890Z","1.2.2":"2022-04-13T08:19:45.354Z","1.3.0":"2022-11-22T11:55:52.153Z","1.3.1":"2022-12-05T17:35:15.368Z","1.3.2":"2023-02-20T08:30:36.984Z","1.4.0":"2023-04-18T13:10:40.616Z","1.5.0":"2023-07-24T07:50:36.753Z","1.5.1":"2024-03-04T13:19:10.779Z","1.5.2":"2024-06-28T09:46:54.906Z","1.5.3":"2024-08-14T13:07:42.428Z","1.5.4":"2025-10-16T20:28:15.855Z","1.5.5":"2026-08-18T14:39:15.500Z"},"bugs":{"url":"https://github.com/awslabs/cognito-at-edge/issues"},"author":{"name":"AWS Builder Labs","email":"aws-builder-labs@amazon.com"},"license":"Apache-2.0","homepage":"https://github.com/awslabs/cognito-at-edge#readme","keywords":["aws","cognito","userpool","cloudfront","lambda","edge","private","website"],"repository":{"type":"git","url":"git+https://github.com/awslabs/cognito-at-edge.git"},"description":"Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge.","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"jeandek","email":"jean.dekernier@gmail.com"},{"name":"borisfba","email":"borisfba@amazon.lu"}],"readme":"# Cognito@Edge\n\n_Cognito authentication made easy to protect your website with CloudFront and Lambda@Edge._\n\nThis Node.js package helps you verify that users making requests to a CloudFront distribution are authenticated using a Cognito user pool. It achieves that by looking at the cookies included in the request and, if the requester is not authenticated, it will redirect then to the user pool's login page.\n\n![Architecture](./doc/architecture.png)\n\n### Alternatives\n\nThis package allows you to easily parse and verify Cognito cookies in a Lambda@Edge function. If you want full control over the configuration of AWS resources (CloudFront, Cognito, Lambda@Edge...), this is the solution for you.\n\nIf you want to try it out easily or to quickstart a new project, we recommend having a look at the [cognito-at-edge-federated-ui-sample](https://github.com/aws-samples/cognito-at-edge-federated-ui-sample) repository. It allows you to configure and deploy a sample application which uses Cognito@Edge in a few CLI commands.\n\nIf you need more configuration options (e.g. bring your own user pool or CloudFront distribution), you may want to use [this Serverless Application Repository application](https://console.aws.amazon.com/lambda/home?region=us-east-1#/create/app?applicationId=arn:aws:serverlessrepo:us-east-1:520945424137:applications/cloudfront-authorization-at-edge) ([GitHub](https://github.com/aws-samples/cloudfront-authorization-at-edge)) which provides a complete Auth@Edge solution. It does not use Cognito@Edge, but provides similar functionality.\n\n## Getting started\n\n### How To Install\n\nThe preferred way to install the AWS cognito-at-edge for Node.js is to use the [npm](http://npmjs.org/) package manager for Node.js. Simply type the following into a terminal window:\n\n```shell\nnpm install cognito-at-edge\n```\n\n### Usage\n\nTo use the package, you must create a [Lambda@Edge function](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-at-the-edge.html) and associate it with the CloudFront distribution's _viewer request_ events.\n\nWithin your Lambda@Edge function, you can import and use the `Authenticator` class as shown here:\n\n```js\nconst { Authenticator } = require('cognito-at-edge');\n\nconst authenticator = new Authenticator({\n\t// Replace these parameter values with those of your own environment\n\tregion: 'us-east-1', // user pool region\n\tuserPoolId: 'us-east-1_tyo1a1FHH', // user pool ID\n\tuserPoolAppId: '63gcbm2jmskokurt5ku9fhejc6', // user pool app client ID\n\tuserPoolDomain: 'domain.auth.us-east-1.amazoncognito.com', // user pool domain\n});\n\nexports.handler = async (request) => authenticator.handle(request);\n```\n\nFor an explanation of the interactions between CloudFront, Cognito and Lambda@Edge, we recommend reading this [AWS blog article](https://aws.amazon.com/blogs/networking-and-content-delivery/authorizationedge-how-to-use-lambdaedge-and-json-web-tokens-to-enhance-web-application-security/) which describe the required architecture to authenticate requests in CloudFront with Cognito.\n\n## Reference - Authenticator Class\n\n### Authenticator(params)\n\n- `params` _Object_ Authenticator parameters:\n  - `region` _string_ Cognito UserPool region (eg: `us-east-1`)\n  - `userPoolId` _string_ Cognito UserPool ID (eg: `us-east-1_tyo1a1FHH`)\n  - `userPoolAppId` _string_ Cognito UserPool Application ID (eg: `63gcbm2jmskokurt5ku9fhejc6`)\n  - `userPoolAppSecret` _string_ (Optional) Cognito UserPool Application Secret (eg: `oh470px2i0uvy4i2ha6sju0vxe4ata9ol3m63ufhs2t8yytwjn7p`)\n  - `userPoolDomain` _string_ Cognito UserPool domain (eg: `your-domain.auth.us-east-1.amazoncognito.com`)\n  - `cookieExpirationDays` _number_ (Optional) Number of day to set cookies expiration date, default to 365 days (eg: `365`). It's recommended to set this value to match `refreshTokenValidity` parameter of the pool client.\n  - `disableCookieDomain` _boolean_ (Optional) Sets domain attribute in cookies, defaults to false (eg: `false`)\n  - `httpOnly` _boolean_ (Optional) Forbids JavaScript from accessing the cookies, defaults to false (eg: `false`). Note, if this is set to `true`, the cookies will not be accessible to Amplify auth if you are using it client side.\n  - `sameSite` _Strict | Lax | None_ (Optional) Allows you to declare if your cookie should be restricted to a first-party or same-site context (eg: `SameSite=None`).\n  - `parseAuthPath` _string_ (Optional) URI path used as redirect target after successful Cognito authentication (eg: `/oauth2/idpresponse`), defaults to the web domain root. Needs to be a path that is handled by the library. When using this parameter, you should also provide a value for `cookiePath` to ensure your cookies are available for the right paths.\n  - `cookiePath` _string_ (Optional) Sets Path attribute in cookies\n  - `cookieDomain` _string_ (Optional) Sets the domain name used for the token cookies\n  - `cookieSettingsOverrides` _object_ (Optional) Cookie settings overrides for different token cookies -- idToken, accessToken and refreshToken\n    - `idToken` _CookieSettings_ (Optional) Setting overrides to use for idToken\n      - `expirationDays` _number_ (Optional) Number of day to set cookies expiration date, default to 365 days (eg: `365`). It's recommended to set this value to match `refreshTokenValidity` parameter of the pool client.\n      - `path` _string_ (Optional) Sets Path attribute in cookies\n      - `httpOnly` _boolean_ (Optional) Forbids JavaScript from accessing the cookies, defaults to false (eg: `false`). Note, if this is set to `true`, the cookies will not be accessible to Amplify auth if you are using it client side.\n      - `sameSite` _Strict | Lax | None_ (Optional) Allows you to declare if your cookie should be restricted to a first-party or same-site context (eg: `SameSite=None`).\n    - `accessToken` _CookieSettings_ (Optional) Setting overrides to use for accessToken\n    - `refreshToken` _CookieSettings_ (Optional) Setting overrides to use for refreshToken\n  - `logoutConfiguration` _object_ (Optional) Enables logout functionality\n    - `logoutUri` _string_ URI path, which when matched with request, logs user out by revoking tokens and clearing cookies\n    - `logoutRedirectUri` _string_ The URI to which the user is redirected to after logging them out\n  - `csrfProtection` _object_ (Optional) Enables CSRF protection\n    - `nonceSigningSecret` _string_ Secret used for signing nonce cookies\n  - `logLevel` _string_ (Optional) Logging level. Default: `'silent'`. One of `'fatal'`, `'error'`, `'warn'`, `'info'`, `'debug'`, `'trace'` or `'silent'`.\n\n_This is the class constructor._\n\n### handle(request)\n\n- `request` _Object_ Lambda@Edge request object\n  - See AWS doc for details: [Lambda@Edge events](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html)\n\nUse it as your Lambda Handler. It will authenticate each query.\n\n```js\nconst authenticator = new Authenticator( ... );\nexports.handler = async (request) => authenticator.handle(request);\n```\n\n### Authentication Gateway Setup\n\nThis library can also be used in an authentication gateway setup. If you have a frontend client application that uses AWS Cognito for authentication, it fetches and stores authentication tokens in the browser. Depending on where the tokens are stored in the browser (localStorage, cookies, sessionStorage), they may susceptible to token theft and XSS (Cross-Site Scripting). In order to mitigate this risk, a set of Lambda@Edge handlers can be deployed on a CloudFront distribution which act as an authentication gateway intermediary between the frontend app and Cognito. These handlers will authenticate and fetch tokens on the frontend's behalf and set them as [Secure; HttpOnly](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies) tokens inside the browser, thereby restricting access to other scripts in the app.\n\nHandlers\n\n1. `handleSignIn` (Can be mapped to `/signIn` in Cloudfront setup): Redirect users to Cognito's authorize endpoint after replacing redirect uri with its own -- for instance, `/parseAuth`.\n1. `handleParseAuth` (Can be mapped to `/parseAuth`): Exchange Cognito's OAuth code for tokens. Store tokens in browser as HttpOnly cookies\n1. `handleRefreshToken` (Can be mapped to `/refreshToken`): Refresh idToken and accessToken using refreshToken\n1. `handleSignOut` (Can be mapped to `/signOut`): Revoke tokens, clear cookies and redirect user to the URL supplied\n\n```js\n// signIn Lambda Handler\nconst authenticator = new Authenticator( ... );\nexports.handler = async (request) => authenticator.handleSignIn(request);\n\n// Similar setup for parseAuth, refreshToken and signOut handlers\n```\n\n### Getting Help\n\nThe best way to interact with our team is through GitHub. You can [open an issue](https://github.com/awslabs/cognito-at-edge/issues/new/choose)\nand choose from one of our templates for [bug reports](https://github.com/awslabs/cognito-at-edge/issues/new?assignees=&labels=bug%2C+needs-triage&template=---bug-report.md&title=),\n[feature requests](https://github.com/awslabs/cognito-at-edge/issues/new?assignees=&labels=feature-request&template=---feature-request.md&title=) or\n[question](https://github.com/awslabs/cognito-at-edge/issues/new?assignees=&labels=question%2C+needs-triage&template=---questions---help.md&title=).\n\n## Contributing\n\nWe welcome community contributions and pull requests. See [CONTRIBUTING.md](https://github.com/awslabs/cognito-at-edge/blob/main/CONTRIBUTING.md) for information on how to set up a development environment and submit code.\n\n### License\n\nThis project is licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html), see LICENSE.txt and NOTICE.txt for more information.\n","readmeFilename":"README.md"}