{"_id":"@authnomicon/prompts","_rev":"4-9931e59e797843e11216151cef165e5b","name":"@authnomicon/prompts","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@authnomicon/prompts","version":"0.0.1","keywords":["components","prompts"],"author":{"url":"https://www.jaredhanson.me/","name":"Jared Hanson","email":"jaredhanson@gmail.com"},"license":"MIT","_id":"@authnomicon/prompts@0.0.1","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"homepage":"https://github.com/authnomicon/prompts#readme","bugs":{"url":"https://github.com/authnomicon/prompts/issues"},"dist":{"shasum":"13127f82efcdba8372fbc9e678e56072120c3510","tarball":"https://registry.npmjs.org/@authnomicon/prompts/-/prompts-0.0.1.tgz","fileCount":7,"integrity":"sha512-DEUQisrhtgKtxGQ9/kyQq/HNjpBvuoTc31eyv8mwwGeKxYAowqwfHbupTrbM0ac8SDGqoPM3FobB/nnISvvqnA==","signatures":[{"sig":"MEUCIQD1bk072fhJ/H/dQ74tUDIeDCNPR2LVaVZBFdIkMD2z2gIgJyGWpRRPp3OSIGcq5OaNmoZlzidbUE40rpz1Jz8pblY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4181},"engines":{"node":"*"},"funding":{"url":"https://github.com/sponsors/jaredhanson","type":"github"},"gitHead":"7c10d843e5f52f824d19f5b3ac813bf32eea8f65","scripts":{"test":"mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"assembly":{"namespace":"org.authnomicon/prompts","components":["http/registry","http/login","http/select-account"]},"licenses":[{"url":"https://opensource.org/licenses/MIT","type":"MIT"}],"repository":{"url":"git://github.com/authnomicon/prompts.git","type":"git"},"_npmVersion":"6.14.12","description":"Prompt components for the Authnomicon project.","directories":{"com":"com"},"_nodeVersion":"14.16.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3","sinon":"^11.1.2","make-node":"^0.3.0","sinon-chai":"^3.7.0","chai-express-handler":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/prompts_0.0.1_1634601797956_0.7812605316053505","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@authnomicon/prompts","version":"0.0.2","keywords":["prompts"],"author":{"url":"https://www.jaredhanson.me/","name":"Jared Hanson","email":"jaredhanson@gmail.com"},"license":"MIT","_id":"@authnomicon/prompts@0.0.2","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"homepage":"https://github.com/authnomicon/prompts#readme","bugs":{"url":"https://github.com/authnomicon/prompts/issues"},"dist":{"shasum":"6c2d4a465b0e1570cde950e45e648a7abcd4eef1","tarball":"https://registry.npmjs.org/@authnomicon/prompts/-/prompts-0.0.2.tgz","fileCount":8,"integrity":"sha512-IbW1c/lSEGIjNCnvb9gBgu3Fx3mwSwD5RR+uXGGXXQsT1zDeeEK1b6kegCw5Lz+kN1SByKv1VPYJy41nzBfKEg==","signatures":[{"sig":"MEQCIFhSZrfqQR4qGd52l2uprgidbp4MWh8FOJzQePECkBPFAiBEb/QHnBRoEbkoNj6iyFGKVIe83BaE9X8yp7qY/zArKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqQOUCRA9TVsSAnZWagAAD0cQAIUve+WDieWMXpg6oTVe\nW1TpA1jHXuGsrHRyBkEHWSPMCpT+rHo2OGEmlkmwxpQ6ho1s/nrEJsGu5l0R\ngIaDdKSS3BasO6Kik2DQuXvCqLSY8KbeTvu7P0wtc2KER2hyMI7l02ZLdxyy\ny5833TRHnUvnrhYMDQ23zcQaeeRii4p8orL+xUhjdaWyoy8VEJgzLlRO+W15\n+EoD+pEsLj9U7KAfZXYWUIZDSDLiXT7/hmKNdjyqPix1hZuN+u9LDcWvSFsN\nrPh538WEqI7nI+GjMmIdOUMrIknLG5vZtnM7qN/DRaa5gcOFCPSMpcGJUkKO\nQsEpYTlc2L2g7oz8RlqAAOB1NDBifX3SZFspCIYUgk6EjLvjheQSFh/Crj7Y\n2pJKlCNRcsfBuqLOz1r2UjbzJhs9BBBLDwBnu11m0f2VbaYNnAheEu23ibbL\nVX/YMxsji5vxsWOOZpscpvFxzMrWqOg9yfUwpOfzZclKGwfQGrnpcHqbA0gi\nwoKIE4fOHLEgqqKDPZ7UPGF+TlbOcl/Xs1BPX6ray53B61uxToLizBU1tDt0\n5zPn4eVeueLTosKriM9Y0x3qA8wQhMq1Q+iXlwreDOOBdHpSkXK0haw+oDHS\nfi3X1cJUGUu+/REGeKeHAEmqgnJd6S1HfgPMmrk+D5+YAK9rB8A83Kp99aRZ\nnPR5\r\n=IiOF\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":"*"},"funding":{"url":"https://github.com/sponsors/jaredhanson","type":"github"},"gitHead":"fda9be7160bc284e055b851c1fe0baa83068493b","scripts":{"test":"mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"assembly":{"namespace":"org.authnomicon/prompts","components":["http/registry","http/login","http/logout","http/select-account"]},"licenses":[{"url":"https://opensource.org/licenses/MIT","type":"MIT"}],"repository":{"url":"git://github.com/authnomicon/prompts.git","type":"git"},"_npmVersion":"6.14.12","description":"Prompt components for the Authnomicon project.","directories":{"com":"com"},"_nodeVersion":"14.16.1","dependencies":{"array-flatten":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3","sinon":"^11.1.2","make-node":"^0.3.0","sinon-chai":"^3.7.0","chai-express-handler":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/prompts_0.0.2_1638466452683_0.26802706628031325","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@authnomicon/prompts","version":"0.0.3","keywords":["prompts"],"author":{"url":"https://www.jaredhanson.me/","name":"Jared Hanson","email":"jaredhanson@gmail.com"},"license":"MIT","_id":"@authnomicon/prompts@0.0.3","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"homepage":"https://github.com/authnomicon/prompts#readme","bugs":{"url":"https://github.com/authnomicon/prompts/issues"},"dist":{"shasum":"23bbc434189ca1d63080ecc9e4ae6e727d619215","tarball":"https://registry.npmjs.org/@authnomicon/prompts/-/prompts-0.0.3.tgz","fileCount":8,"integrity":"sha512-N09W0Q6kavk8tFCiikElX+enuP6aYxS6QJIEIyvlQmyxxM/jW3+eSsDDuSX17vDzcbxZ+rYxdfWFilY+0pkStg==","signatures":[{"sig":"MEYCIQD16zIi+aSXg5LkLiYt5mnajOOta/PkjrTir/yEG/2e7wIhAK4EY0DZNgBa3Zi5ww9K18eNJQVIAalQa33BFNTcKFtj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6406},"engines":{"node":"*"},"funding":{"url":"https://github.com/sponsors/jaredhanson","type":"github"},"gitHead":"14a3665308c9c49936355b5b2e190be20c508cb0","scripts":{"test":"mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"assembly":{"namespace":"org.authnomicon/prompts","components":["http/registry","http/consent","consent/service"]},"licenses":[{"url":"https://opensource.org/licenses/MIT","type":"MIT"}],"repository":{"url":"git://github.com/authnomicon/prompts.git","type":"git"},"_npmVersion":"8.1.2","description":"Prompt components for the Authnomicon project.","directories":{"com":"com"},"_nodeVersion":"16.13.2","dependencies":{"ejs":"^3.1.9","csurf":"^1.11.0","express":"^4.18.2","flowstate":"^0.6.0","array-flatten":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3","sinon":"^11.1.2","make-node":"^0.3.0","sinon-chai":"^3.7.0","chai-express-handler":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/prompts_0.0.3_1697833940065_0.2542964478121936","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@authnomicon/prompts","version":"0.0.4","description":"Prompt components for the Authnomicon project.","keywords":["prompts"],"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"https://www.jaredhanson.me/"},"repository":{"type":"git","url":"git://github.com/authnomicon/prompts.git"},"bugs":{"url":"https://github.com/authnomicon/prompts/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/jaredhanson"},"license":"MIT","licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"assembly":{"namespace":"org.authnomicon/prompts","components":["router","consent/prompt","consent/service"]},"directories":{"com":"com"},"dependencies":{"array-flatten":"^1.1.1","body-parser":"^1.20.2","csurf":"^1.11.0","ejs":"^3.1.9","express":"^4.18.2","flowstate":"^0.6.0","http-errors":"^2.0.0"},"devDependencies":{"chai":"^4.3.4","chai-express-handler":"^0.1.0","make-node":"^0.3.0","mocha":"^9.1.3","proxyquire":"^2.0.1","sinon":"^11.1.2","sinon-chai":"^3.7.0"},"engines":{"node":"*"},"scripts":{"test":"mocha --reporter spec --require test/bootstrap/node test/*.test.js"},"gitHead":"ee5a06fb776aaa057aa721e55e007d49496a66a6","homepage":"https://github.com/authnomicon/prompts#readme","_id":"@authnomicon/prompts@0.0.4","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-5W48U7d5debdYXa1GCvO3Tp3RQJq2V57XPMhEUDVDG/440JbNjOKeDY6tsKXbhndBMs8+WzvkmpHf9idTxEW8Q==","shasum":"d203158bf8004903fc2c610e3f1817d9c73a010b","tarball":"https://registry.npmjs.org/@authnomicon/prompts/-/prompts-0.0.4.tgz","fileCount":9,"unpackedSize":12724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrCRp7WymIJiiwW6B4cNNf93pTHIEkTrXf1AZQx0bViAiBlGEiuLhlwCY6AlfqOn0Jf8CEhAMdxztYuiLhxbQQlcg=="}]},"_npmUser":{"name":"jaredhanson","email":"jaredhanson@gmail.com"},"maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prompts_0.0.4_1724435372089_0.8460805243038567"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-19T00:03:17.889Z","modified":"2024-08-23T17:49:32.474Z","0.0.1":"2021-10-19T00:03:18.101Z","0.0.2":"2021-12-02T17:34:12.869Z","0.0.3":"2023-10-20T20:32:20.342Z","0.0.4":"2024-08-23T17:49:32.278Z"},"bugs":{"url":"https://github.com/authnomicon/prompts/issues"},"author":{"name":"Jared Hanson","email":"jaredhanson@gmail.com","url":"https://www.jaredhanson.me/"},"license":"MIT","homepage":"https://github.com/authnomicon/prompts#readme","keywords":["prompts"],"repository":{"type":"git","url":"git://github.com/authnomicon/prompts.git"},"description":"Prompt components for the Authnomicon project.","maintainers":[{"name":"jaredhanson","email":"jaredhanson@gmail.com"}],"readme":"# @authnomicon/prompts\n\nPrompt components for the Authnomicon project.\n\n`@authnomicon/prompts` is a set of components for prompting the user within a\nweb browser.\n\nThe prompts form a [challenge-response](https://en.wikipedia.org/wiki/Challenge–response_authentication)\nprotocol to authenticate the user.  Prompts may also perform related access\ncontrol operations, such as identity proofing or obtaining authorization for\nthird-party access.\n\nPrompts are presented in a web browser, and as such present challenges to the\nuser by rendering HTML.  The user provides a response by submitting an HTML\nform.  Sequences of prompts are strung together using a series of redirects.\nOptionally, prompts may be [progressively enhanced](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement)\nusing client-side JavaScript to enhance the user experience and take advantage\nof richer capabilities.\n\nWithin the context of a overarching authentication or authorization protocol,\na prompt or sequence of prompts is often referred to as a \"flow\" (in the case of\n[OAuth](https://datatracker.ietf.org/doc/html/rfc6749)) or a \"ceremony\" (in the\ncase of [WebAuthn](https://www.w3.org/TR/webauthn-2/)).  Such flows often\nrequire relatively complex per-request state management, which is accomplished\nusing [`flowstate`](https://github.com/jaredhanson/flowstate).\n\n<div align=\"right\">\n  <sup>Developed by <a href=\"#authors\">Jared Hanson</a>.</sub>\n</div>\n\n## See Also\n\n- [@authnomicon/prompts-oob](https://github.com/authnomicon/prompts-oob) -\n  Components to present prompts to the user via out-of-band channels.  Typically\n  used when authorization is needed in non-web-based environments, such as\n  point-of-sale transactions with a cashier or teller and self-service kiosks.\n\n## Authors\n\n- [Jared Hanson](https://www.jaredhanson.me/) { [![WWW](https://raw.githubusercontent.com/jaredhanson/jaredhanson/master/images/globe-12x12.svg)](https://www.jaredhanson.me/) [![Facebook](https://raw.githubusercontent.com/jaredhanson/jaredhanson/master/images/facebook-12x12.svg)](https://www.facebook.com/jaredhanson) [![LinkedIn](https://raw.githubusercontent.com/jaredhanson/jaredhanson/master/images/linkedin-12x12.svg)](https://www.linkedin.com/in/jaredhanson) [![Twitter](https://raw.githubusercontent.com/jaredhanson/jaredhanson/master/images/twitter-12x12.svg)](https://twitter.com/jaredhanson) [![GitHub](https://raw.githubusercontent.com/jaredhanson/jaredhanson/master/images/github-12x12.svg)](https://github.com/jaredhanson) }\n\n## License\n\n[The MIT License](https://opensource.org/licenses/MIT)\n\nCopyright (c) Jared Hanson\n","readmeFilename":"README.md"}