{"_id":"@bouncingpixel/mongoose-passport-impl","_rev":"7-6a2eb287bfde18cb615807361310b737","name":"@bouncingpixel/mongoose-passport-impl","description":"An implementation for the passport-auth package with mongoose as the data store","dist-tags":{"latest":"0.3.0-beta"},"versions":{"0.1.0":{"name":"@bouncingpixel/mongoose-passport-impl","version":"0.1.0","description":"An implementation for the passport-auth package with mongoose as the data store","main":"index.js","scripts":{"lint":"eslint index.js src"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/BouncingPixel/node-packages/tree/master/mongoose-passport-impl"},"author":{"name":"Matt Hall","email":"mhall@bouncingpixel.com"},"license":"MIT","bugs":{"url":"https://github.com/BouncingPixel/node-packages/issues"},"homepage":"https://github.com/BouncingPixel/node-packages","engines":{"node":"6.x"},"dependencies":{},"peerDependencies":{"mongoose":"^4.7.6"},"_id":"@bouncingpixel/mongoose-passport-impl@0.1.0","_shasum":"baae9c3ccf2eb9b20cf8e1ff952132b6a616beb6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"},"dist":{"shasum":"baae9c3ccf2eb9b20cf8e1ff952132b6a616beb6","tarball":"https://registry.npmjs.org/@bouncingpixel/mongoose-passport-impl/-/mongoose-passport-impl-0.1.0.tgz","integrity":"sha512-EakmBhgVUDk5h7grYh1WS8Vog0hAnJC8hcavu30ZEUJgm8cddNKnFb8mmbb8LmwjX1UzqhlpwLVy1DCZQC3F6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKFQGGqYGIOfgpJqk4pZP/SGPzo9Fsx0lTLdLDHiORAgIgW4YeslPwHG+mzS0byGg6yzRbMlcfBNxtdNgx22O7vPE="}]},"maintainers":[{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-passport-impl-0.1.0.tgz_1497563645085_0.38691500993445516"},"directories":{}},"0.1.1":{"name":"@bouncingpixel/mongoose-passport-impl","version":"0.1.1","description":"An implementation for the passport-auth package with mongoose as the data store","main":"index.js","scripts":{"lint":"eslint index.js src"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/BouncingPixel/node-packages/tree/master/mongoose-passport-impl"},"author":{"name":"Matt Hall","email":"mhall@bouncingpixel.com"},"license":"MIT","bugs":{"url":"https://github.com/BouncingPixel/node-packages/issues"},"homepage":"https://github.com/BouncingPixel/node-packages","engines":{"node":">=6.9.0"},"dependencies":{},"peerDependencies":{"mongoose":"^4.7.6"},"_id":"@bouncingpixel/mongoose-passport-impl@0.1.1","_shasum":"652a1d48c4241490d213a05141fe620ddfcd0533","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"},"dist":{"shasum":"652a1d48c4241490d213a05141fe620ddfcd0533","tarball":"https://registry.npmjs.org/@bouncingpixel/mongoose-passport-impl/-/mongoose-passport-impl-0.1.1.tgz","integrity":"sha512-BeJpFc0Dda3qxPFsKj8Y0YxEbDfRTjiT7HeIR5Swh9nYEEaTRQpRyitX+mZG4DrprTLVlvfxFdwDAIZ0uCos6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJyMp4mJxYFa6OfH5Sr8Yq9Ps5lh6bIAmDV6rl9o2kTAiAt6Bs40JJ8sdCk7I/WW6mj1Ta1FwotLf6K7xNV5BRpIg=="}]},"maintainers":[{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-passport-impl-0.1.1.tgz_1503085231467_0.9798003307078034"},"directories":{}},"0.2.0":{"name":"@bouncingpixel/mongoose-passport-impl","version":"0.2.0","description":"An implementation for the passport-auth package with mongoose as the data store","main":"index.js","scripts":{"lint":"eslint index.js src"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/BouncingPixel/node-packages/tree/master/mongoose-passport-impl"},"author":{"name":"Matt Hall","email":"mhall@bouncingpixel.com"},"license":"MIT","bugs":{"url":"https://github.com/BouncingPixel/node-packages/issues"},"homepage":"https://github.com/BouncingPixel/node-packages","engines":{"node":">=6.9.0"},"dependencies":{},"peerDependencies":{"mongoose":"^4.11.9"},"_id":"@bouncingpixel/mongoose-passport-impl@0.2.0","_shasum":"7059b1338d2945abada6c98b902e35479804b6de","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"},"dist":{"shasum":"7059b1338d2945abada6c98b902e35479804b6de","tarball":"https://registry.npmjs.org/@bouncingpixel/mongoose-passport-impl/-/mongoose-passport-impl-0.2.0.tgz","integrity":"sha512-vSY8M4f1vULslNe8qVkx1SMdkIZpDGw+jtJwVTuohRmsCLZQVNajn93QfY/uLhIC7oAyAy0J17dGEphZebKIpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg2TPWblj2kbWBMlMGTDlM7oNSUMSGGA5ZfCNdIdJlMQIgT0KgoBen0NpR743dYhk3/LAkdqu/w+aelTAMzUYZlEA="}]},"maintainers":[{"name":"bouncingpixel","email":"mhall@bouncingpixel.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-passport-impl-0.2.0.tgz_1504293527569_0.050149341113865376"},"directories":{}},"0.3.0-beta":{"name":"@bouncingpixel/mongoose-passport-impl","version":"0.3.0-beta","description":"An implementation for the passport-auth package with mongoose as the data store","main":"index.js","scripts":{"lint":"eslint index.js src"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/BouncingPixel/node-packages/tree/master/mongoose-passport-impl"},"author":{"name":"Matt Hall","email":"mhall@bouncingpixel.com"},"license":"MIT","bugs":{"url":"https://github.com/BouncingPixel/node-packages/issues"},"homepage":"https://github.com/BouncingPixel/node-packages","engines":{"node":"^14.x"},"dependencies":{},"peerDependencies":{"mongoose":"^5.2.8"},"_id":"@bouncingpixel/mongoose-passport-impl@0.3.0-beta","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-zMJ/cmr08fWs4t5sXfE4+XY1gNf75t/a0V1doNrFuP4L6Syy+frAaJOUarBxiKKHLF+F74cQ9U1jDOjYV1mjrQ==","shasum":"72109a66e543f0a535cc1cb14e6780b9a1e081fa","tarball":"https://registry.npmjs.org/@bouncingpixel/mongoose-passport-impl/-/mongoose-passport-impl-0.3.0-beta.tgz","fileCount":5,"unpackedSize":7996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgB0YaCRA9TVsSAnZWagAACI4QAJg9R+hD5qyH9BH1KMpW\n+keY9yVRMGrVCNBJDb1MRl3sLFonIEnfXupIHeJF5VdCeTeMbwvcy+JvT40t\nlqlLhYUV1Aqa+zML794eJpwHJ6OOtHtTgrmEDE0afoTIJ9lcVfstGE9fcPrm\n0x4Gvk7geyCCY3XfP/RHF5741k94oeE+EA1WBp0YzP6jYzu+lXB5Utw848L/\nhCAzH6wm4+c+U6AQtK+tTq17JWnWKHlTL6HoBIOWQWZ3czeGlSM26AKtxer2\nlynNYNo7ypzGQ8OJIdZEyPh4zjtX0SR71FAYcy//2o15B1hCQ/LQubqiJAub\np5c+ZRKdIHJYtEimjfKKCSGayBH6rV3zlF4wMeuo+3FIOuth04aNGMnYBBJt\nQMz4HceVq8XLJZk/qRQOrPpZSZXNFBbx4ZepvI/uQeKYHpgOqAQqcvb9CkTL\nsAvE+pJOeazTA7Z8PBCBDzYFLiaMwlvVaRDWfzf2OHy9MzmrUjUhC03i4F02\n2HdgDYAtZz8B0tcfUBxQhr4LeCRaOQ4PtT+KtkapB48lynCWKWs981YRZT92\nsk5HZdOKQA9wgLQIA632rlUcj6EaGijTK8aCmwqh30ReJminXfLpWi50/wJZ\nLJZ2qlDQdP+dIyn1GDbGzv3uRJ8T3dZlb+RT8E2mgX/jipAw89PMCWCor7fW\n/eYt\r\n=oDEq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc3z1TYycK7pgkVqhPbXNuivTBcBkVENG9zSnDl/nYtAIhAMNxLiAnFO0MH6+bhNMlfJiFL3RjwYDjbQ73rE16zTNm"}]},"_npmUser":{"name":"hallmatt","email":"mhall@bouncingpixel.com"},"directories":{},"maintainers":[{"name":"hallmatt","email":"mhall@bouncingpixel.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-passport-impl_0.3.0-beta_1611089434410_0.0881859095350388"},"_hasShrinkwrap":false}},"readme":"# mongoose-passport-impl\n\nAn implementation for the passport-auth package with mongoose as the data store.\nBuilt in models securely track Remember-me tokens and login brute-force prevention through account locking.\n\n## Working With\n\n### Requirements\n\n- NodeJS 6 LTS\n- Mongoose 4.x\n- @bouncingpixel/mongoose-db (suggested, though not a hard requirement)\n- @bouncingpixel/passport-auth (suggested, this impl package is built for this)\n\n### Installing\n\nInstall the package using your JS package manager of choice, such as `npm` or `yarn`.\n\nFor example, with `npm` or `yarn`:\n```\n$ npm install --save @bouncingpixel/mongoose-passport-impl\n\n$ yarn add @bouncingpixel/mongoose-passport-impl\n```\n\n### Configuration and Use\n\nA `UserModel` must be set before using this package. A User schema and model are not provided, as everyone may have their own requirements.\n\nIf using single sign on capability, a function `ssoExtendProfileFn` may be defined to allow you to parse the profile received from the sign on source and set the user's properties based on the profile.\n\n```js\nconst passportImpl = require('@bouncingpixel/mongoose-passport-impl');\npassportImpl.UserModel = require('./models/my-user-model');\n\n// optional:\npassportImpl.ssoExtendProfileFn = function(user, ssoProfile) {\n  // ...\n};\n```\n\nTo enable this module with @bouncingpixel/passport-auth, be sure to set the nconf key `passportAuthImpl` to `@bouncingpixel/mongoose-passport-auth`.\n","maintainers":[{"name":"hallmatt","email":"mhall@bouncingpixel.com"}],"time":{"modified":"2022-06-12T15:26:49.630Z","created":"2017-06-15T21:54:05.989Z","0.1.0":"2017-06-15T21:54:05.989Z","0.1.1":"2017-08-18T19:40:32.374Z","0.2.0":"2017-09-01T19:18:48.439Z","0.3.0-beta":"2021-01-19T20:50:34.566Z"},"homepage":"https://github.com/BouncingPixel/node-packages","repository":{"type":"git","url":"https://github.com/BouncingPixel/node-packages/tree/master/mongoose-passport-impl"},"author":{"name":"Matt Hall","email":"mhall@bouncingpixel.com"},"bugs":{"url":"https://github.com/BouncingPixel/node-packages/issues"},"license":"MIT","readmeFilename":"README.md"}