{"_id":"waterlock","_rev":"42-2739c7df7c0758fc5e9356d803c0940a","name":"waterlock","description":"User authentication and Json Web Tokens for Sails","dist-tags":{"0.0.1":"0.0.1","latest":"0.1.2-rc1"},"versions":{"0.0.1":{"name":"waterlock","version":"0.0.1","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api handeling for sails.js","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"script":{"test":"mocha --recursive -c"},"bin":{"waterlock":"./bin/waterlock"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"*","jade":"*","nodemailer":"*"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.1","dist":{"shasum":"27aa17484dbe05e9392616fd0851edf869ec3ccb","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.1.tgz","integrity":"sha512-3zDv0dzigH+bakE/EbWoZKxDiOPE4kvNE/uSbnl8yjtdoiC4v6alDbvEcIwmVtpN0LRJCky7BVcZhicNjyCP0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENutnu9gXC4H37d0wfPFHeuPyXcifMFZlGBdizgVGyqAiBxad3nl7G1DmRxWZxYi41PYsj6rraYf/rdXW8xgvCYzg=="}]},"_from":"waterlock/","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.2":{"name":"waterlock","version":"0.0.2","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"mocha --recursive --colors"},"bin":{"waterlock":"./bin/waterlock"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"*","jade":"*","nodemailer":"*"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"homepage":"https://github.com/davidrivera/waterlock","_id":"waterlock@0.0.2","dist":{"shasum":"96805497be662370a9c754a612d1caa1c711fa03","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.2.tgz","integrity":"sha512-i9/oRQi79EOkWwuKn4klMe84X6GKHmU6TlJSbOdobKr7gZacgMJFaR/E8GO3UKda4o5h1jw2PBMEUJ/rjr9iKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH45sN9uXUlDolYJu9cjfS754qYPf+XHSFsZsD73NRCeAiEA+X4A1xsOg0Nq/kO+0X6NuJrNaOcLfV/AC9ZXUIwlnIc="}]},"_from":"./","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.3":{"name":"waterlock","version":"0.0.3","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"mocha --recursive --colors --reporter spec"},"bin":{"waterlock":"./bin/waterlock"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"~2.6.0","jade":"~1.3.1","nodemailer":"~0.6.5"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.3","dist":{"shasum":"98ebff121a9ad891c17740014af3d20501b0c169","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.3.tgz","integrity":"sha512-m1HvSzGDbDZWxBi/bG9L+52LNWj2xBHmQS+1qiQoxPoAb3WoXWtjL2OJOrxyQmsdIWAZOfTiYUsVf9I1c0tkAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRb/RZN2ZCxNHe9gsqWkYnAJYAtC7eV4D6NJKlX/l6NgIgaD0YllRvnInHtxOl667eKjXRubdOQU00ye/21CdUF/0="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.4":{"name":"waterlock","version":"0.0.4","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"~2.6.0","jade":"~1.3.1","nodemailer":"~0.6.5","bcrypt":"~0.7.8"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.4","dist":{"shasum":"90f9d687fd4dbd35e69f042d1089408da0aaa538","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.4.tgz","integrity":"sha512-uFFtuSIEyCWx8ljfP7UwGFTh5bLvvI4CMEvxqC5JBLcTyyGzt63ICuYEeHjxz4PQTKx6z29FtWOUJHDJMFw8+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9kV/tpTDiImAMUsLuYP2KT9rj3uL6BAR1D+6Ix7mVhwIgASDkaWW+iA5EpBCawdFCfi9wE8JGE2GM9LwXtb7PlB0="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.5":{"name":"waterlock","version":"0.0.5","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"~2.6.0","jade":"~1.3.1","nodemailer":"~0.6.5","bcrypt":"~0.7.8","commander":"~2.2.0","lodash":"~2.4.1"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.5","dist":{"shasum":"16090683811fffaef7cac03f94f0ab752b0b6a2c","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.5.tgz","integrity":"sha512-0oVTiev+zghjHdHuGdb/3AklI2g/FLZSwxWmHP96vbL05n5LdgOa2a2ckC2+UqdR6u6E1+pEoEG6M6KhpwNFUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiwF9esyvRaZ4MWzDf7i/9FUbOK/XBtC3mfX4W3abrhgIhAImNGRsyE3+SIzxMCfJZ/vIaUxDWMeyFw1HNZ+zp3AlE"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.6":{"name":"waterlock","version":"0.0.6","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"~2.6.0","jade":"~1.3.1","nodemailer":"~0.6.5","bcrypt":"~0.7.8","commander":"~2.2.0","lodash":"~2.4.1"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.6","dist":{"shasum":"5a90ce72865dd627c83a023c849b545c6e98bc45","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.6.tgz","integrity":"sha512-DM3fR7lRWHhZ2e7TvEwYxUnyGbwDZz0yiMZjm8cmY8LG1OPFo/+JW7mgnpjsDVG1lA7VlqAJPriBJgcDkj1mTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEDnRNc1cLKjIN3aUR4DgTOuq7cah5b4x8vmUt7JhcUAiEAlOVfKvchbfuifc2Uz1Nv5i/itR23ZZYASQpYjefa6/A="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.7":{"name":"waterlock","version":"0.0.7","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and api key managment for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails package","authentication"],"dependencies":{"moment":"~2.7.0","jade":"~1.3.1","nodemailer":"~0.6.5","bcrypt":"~0.7.8","commander":"~2.2.0","lodash":"~2.4.1"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.7","dist":{"shasum":"a4c3860ea0820e9163731818488e6bebf7e60f4d","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.7.tgz","integrity":"sha512-o6pJ0H0Ku/LAna1Spu933bcT/Fr1fubuCUX3CfGk/i3GXY26TVEMtQgASqrgYCq4Z7o3NW0wiiZDbwl8GbUZ1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARdBhBwMMTi422bHKRaoFOgVvAKjrk0ZJM4tiUiBSe5AiBkTKONpRZUgLEReFo8YS1aoKu45L2ATW6ZKQZbg06S3Q=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.8":{"name":"waterlock","version":"0.0.8","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for sails.js","homepage":"http://davidrivera.github.io/waterlock/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails package","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.7.0","jade":"~1.3.1","nodemailer":"~0.6.5","bcrypt":"~0.7.8","commander":"~2.2.0","lodash":"~2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.8","dist":{"shasum":"010e38067e0830bcff828194f720171ec55694ce","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.8.tgz","integrity":"sha512-rcUn8x7bBI5zY0WBgc2glrlIGmEuUWyIOaZaXEasagVRmkSontyeWbri9cRthSPJcDAujixfg36Cxf5aP1f6Ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr/tc2puumNcnIwOEGUsLClN0n5uQWKMkuvNfyt0QHjwIgWWOTuU3NhnWMz3U2HkqpO1ErI+s6y/Pdq56vrJAZHfk="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.9":{"name":"waterlock","version":"0.0.9","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for sails.js","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails package","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.7.0","commander":"~2.2.0","lodash":"~2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.9","dist":{"shasum":"e88527ddb8983afff9e6991ba5e8f81e46227928","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.9.tgz","integrity":"sha512-4t/4Wo35bOFcUh+dumsAmVc/JJLrKBeP+ZgNvPD/x3TlrJGqLBpBDdPJmUw84Dd4IHAuOVCWpEHyzBBrEDHlhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKGwsPHTEVfJSnljzXe6G0S4TvawRgBgdYq3r6EQZo3AiEAkUhQqUazoBoqkAIpFo0YHitUpG5asu0SMtC1NuwKPD0="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.10":{"name":"waterlock","version":"0.0.10","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.7.0","commander":"~2.2.0","lodash":"2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1","winston":"0.7.3"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.10","dist":{"shasum":"76a9eb1df9a3a78f5af567a238eb2136edbdc29b","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.10.tgz","integrity":"sha512-EzCnIDG7VSfaYz3V/R4+PXw92R9AbiGvcWDU3zhduEkrroVpBMqbkCbiAEZTDk/hx3YjbsvhlaAHq8eDCfnS0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/RsXsGSDPbZW6zNpvlQsaXxWzg0M3uGH+sKPeo8n3jwIgPMZJAVJeysRly4wRx9YdPK0Cl5UBBwR6KuprHxS00S4="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.11":{"name":"waterlock","version":"0.0.11","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.8.1","commander":"~2.3.0","lodash":"2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1","winston":"0.7.3"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.11","dist":{"shasum":"586472185b68e2cbabad2ccb2011737bfc707e85","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.11.tgz","integrity":"sha512-t4qfm3U11CM/+5ijE4hJ+i7VnqWO1dHtPglxdM7diQPN9594CvIEQ4ZYlg0O6xhUmKN50H4fOXcTqwsEYVSLeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTesz5Fcy1dJEPtp/yKYh/LX+8/lVeljMwqFbuRMsd2QIhAIcsdDXJgZlkwG7o2QuRlB4nb5mfpIlaqrNjy7iBbv/P"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.12":{"name":"waterlock","version":"0.0.12","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.8.1","commander":"~2.3.0","lodash":"2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1","winston":"0.7.3"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"_id":"waterlock@0.0.12","dist":{"shasum":"a2fa998319e59a2e2e0b38b231c847e6528f508b","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.12.tgz","integrity":"sha512-7appIy2f06gAFTlKk0JnHVSTo1MChOusdiJEpoA1iqo86gVD31UUHEln29kUDVwjps++pcYq8S5N6AtFzSOyLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdd92vxrahXlK5L5vAkdLDJTZlfnbG+3RzGWjtKlWA9AIgGNJefTX8m2eNa/6oKlrIb3i15q4tNZuNQzsm2m7zLp4="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}]},"0.0.13":{"name":"waterlock","version":"0.0.13","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/davidrivera/waterlock"},"bugs":{"url":"https://github.com/davidrivera/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.8.1","commander":"~2.3.0","lodash":"2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1","winston":"0.7.3"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"beta","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"gitHead":"aa5269ebf72bc506cc4fae9d13efbf903d08a749","_id":"waterlock@0.0.13","_shasum":"b264511bcdd46eb70780aae38ae5ffde3a15a2c7","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}],"dist":{"shasum":"b264511bcdd46eb70780aae38ae5ffde3a15a2c7","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.13.tgz","integrity":"sha512-WIO4IGhSXkXUJzPlf86LKc1D4B3YBCIYZZr2xIllmvTKDCMZDnjD6G/uRqU2h5o178CzHhLDTrdDqHuoL6L96A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+3QND+r7P1wQYGnYoXftPYALHda++jXD980QyBk2ZigIhAN9S4ru55ztHUb506RnIWrRIXS6IdBJnwaSLWL7xpp58"}]}},"0.0.14":{"name":"waterlock","version":"0.0.14","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/waterlock/waterlock"},"bugs":{"url":"https://github.com/waterlock/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"moment":"~2.8.1","commander":"~2.5.1","lodash":"2.4.1","jwt-simple":"~0.2.0","node-uuid":"~1.4.1","winston":"~0.8.3"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"*","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"gitHead":"587da8df65bb5ac550407845b19c091a50691768","_id":"waterlock@0.0.14","_shasum":"c81493a68c24af7d5bf1c3cf68526a07023d4026","_from":".","_npmVersion":"2.1.14","_nodeVersion":"0.10.24","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"}],"dist":{"shasum":"c81493a68c24af7d5bf1c3cf68526a07023d4026","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.0.14.tgz","integrity":"sha512-1qVsiO8EkF3tTi6yzxrAgu1YXyQBHwl2N75rxfEsjo55qSTl3Zk2P+k/Dq8KSCquqdaBr7SxV9fS5obijpfh2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkY5gfZtbRQgRtJozp2gKigiatcmBVBS7BKUOBPS0u3wIgTwy2Qsm/ScHLTiHx3JJLCMa8wmpfvwCXPqF/ZrFmRz8="}]}},"0.1.0":{"name":"waterlock","version":"0.1.0","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/waterlock/waterlock"},"bugs":{"url":"https://github.com/waterlock/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"commander":"~2.8.1","jwt-simple":"~0.3.0","lodash":"~3.7.0","moment":"~2.10.2","node-uuid":"~1.4.3","winston":"~1.0.0"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"*","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.6"},"gitHead":"17ae7936bb65dfef9ab74da07857601e0f5baa15","_id":"waterlock@0.1.0","_shasum":"33f6913bca3a4f88c0fc318e79ab2f34bc94f6ce","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},{"name":"globegitter","email":"markus.padourek@gmail.com"},{"name":"kriswill","email":"kris@kris.net"}],"dist":{"shasum":"33f6913bca3a4f88c0fc318e79ab2f34bc94f6ce","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.1.0.tgz","integrity":"sha512-ut1DKz/jLjtMb6Wt6/X4xC/q3zIfeaJ3GeqaGjn1mO+N2q722kqC3LpZqLw3GnfKfLk8Ehz+MAoaY87N55JyfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeRmNHmNZDwZ8ZT3H04unkPWxkTPSfcpJTGzbGYS7S1AIgZlzzM4zPRKJHsnc9UKraeerxV9nt+kIpqYQSMZeZmKs="}]}},"0.1.2-rc1":{"name":"waterlock","version":"0.1.2-rc1","author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"description":"User authentication and Json Web Tokens for Sails","homepage":"http://waterlock.ninja/","contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"repository":{"type":"git","url":"https://github.com/waterlock/waterlock"},"bugs":{"url":"https://github.com/waterlock/waterlock/issues"},"scripts":{"test":"make test"},"bin":{"waterlock":"./bin/waterlock.js"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"dependencies":{"commander":"~2.8.1","jwt-simple":"~0.3.0","lodash":"~3.8.0","moment":"~2.10.3","node-uuid":"~1.4.3","winston":"~1.0.0"},"devDependencies":{"mocha":"*","should":"*","proxyquire":"*","coveralls":"*","istanbul":"*","sails":"*","jshint":"*"},"preferGlobal":false,"license":"MIT","engines":{"node":">=0.10"},"gitHead":"720760e9894f5d5a3d2b33c5f3264baa4066e78b","_id":"waterlock@0.1.2-rc1","_shasum":"1955ac155ea1f51075b32c2f6df28e915f23cf66","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"wayne-o","email":"wayne+npm@sonatribe.com"},"maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},{"name":"globegitter","email":"markus.padourek@gmail.com"},{"name":"kriswill","email":"kris@kris.net"},{"name":"wayne-o","email":"wayne@soantribe.com"}],"dist":{"shasum":"1955ac155ea1f51075b32c2f6df28e915f23cf66","tarball":"https://registry.npmjs.org/waterlock/-/waterlock-0.1.2-rc1.tgz","integrity":"sha512-bVbjxMPt8uobfebz29VRJZnMm0ApCy5K8XKPRdio+MJ0AeL8VIpfS1/lAcUnZt5B1DSQUzVTapmhcBq2zDLxYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3cBnPTkWpu0hNswqvNxsbNOEoYwhVHCTBc+fdl54cXAiEA5pm7gfgXNactX5Bjy+u8ca0/ujASyQnl4mvc/5vS+pU="}]}}},"readme":"[![Waterlock][waterlock-image]][waterlock-url]\n-----------------------------------------------\n\n[![Gitter][gitter-image]][gitter-url]\n\n[![Inline docs][inch-image]][inch-url]\n\n| [![Build Status][travis-image]][travis-url] | [![NPM version][npm-version-image]][npm-url] | [![NPM downloads][npm-downloads-image]][npm-url] | [![Dependency Status][dependency-image]][dependency-url] |\n| ------- | ------- | ------- | ------- |\n| [![Coverage Status][coverage-image]][coverage-url] | [![Code Climate][climate-image]][climate-url] | [![Gittip][gittip-image]][gittip-url] | [![MIT License][license-image]][license-url]\n\n\nWaterlock is an all encompassing user authentication/json web token management tool for [Sails](http://sailsjs.com) `>= 0.10`\n\n# What does it provide\nWaterlock provides predefined routes and models for user authentication and json web token management. Password resets are also handled but we'll cover that below.\nAuthentication is handled via methods. The current supported methods are:\n\n| Method | Library |\n| ------------- | ------------- |\n| Local Auth | [waterlock-local-auth](https://github.com/waterlock/waterlock-local-auth) |\n| Twitter Auth | [waterlock-twitter-auth](https://github.com/waterlock/waterlock-twitter-auth) |\n| Facebook Auth | [waterlock-facebook-auth](https://github.com/waterlock/waterlock-facebook-auth) |\n| Google Auth | [waterlock-google-auth](https://github.com/waterlock/waterlock-google-auth) |\n\nit is a great tool if you're looking to grant user access to your api.\n\n# How does it work\nSince sails currently has no official support for 3rd party libraries like Rails gems; Waterlock works by hooking into your model and controller files adding the functionality needed. When Sails starts officially supporting 3rd party libraries this might change.\n\n# How do I use it\nGlad you asked! If you're on a fresh install of a Sails app first run\n```bash\nnpm install waterlock\nnpm install waterlock-local-auth\n```\n\nthen run on mac/linux\n```bash\n./node_modules/.bin/waterlock generate all\n```\nor for windows\n```bash\nnode_modules\\.bin\\waterlock generate all\n```\n\nthis will generate all the necessary components, however you do not have strict access yet! The custom policies are generated via the command above but not yet applied. To apply policies crack open your `config/policies.js` file and add something like the following:\n\n```js\nMyController:{\n\t'*': true,\n\t'myApiAction': ['hasJsonWebToken'],\n\t'mySessionAction': ['sessionAuth']\n}\n```\n\nnow with your policies applied to your custom controller you're good to go! (given you've actually implemented some login in them e.g. `res.view()`)\n\n# How can I customize it?\nWaterlock wraps around models and controllers so you can override any of the actions and definition that are predefined. After running `waterlock generate all` open up the `User.js` file you'll see this:\n```js\n  attributes: require('waterlock').models.user.attributes({\n\n    /* e.g.\n    nickname: 'string'\n    */\n\n  }),\n```\nyou can add any custom attributes you wish to your user model by just dropping them in like normal.\n\n## What if I want to control my own User model\nGood question! If for whatever reason be it we haven't implemented a certain authentication method or your case it exceptionally complex. You can still take advantage of Waterlocks json web token management, so long as your user model has the following:\n\n```js\n    jsonWebTokens: {\n      collection: 'jwt',\n      via: 'owner'\n    },\n```\n\nthis will keep the user association to the Jwt model and still allow for management of the tokens, which is what Waterlock tries to accomplish first and foremost.\n\n# Config\nWaterlock generates a config located at `config/waterlock.json` this file is used to set various options\n\n* `baseUrl` - this is the URL your app resides at, used in password reset urls\n* `autheMethod` - the npm package name for the chosen authentication method or array of methods\n* `jsonWebTokens` - object containing information on how the jwt's should be constructed\n\t* `secret` - the secret used to encrypt the token, CHANGE THIS VALUE!\n\t* `expiry` - object containing information on expiry these are passed to moment.js [add](http://momentjs.com/docs/#/manipulating/add/) function\n\t\t* `unit` - [y,M,w,d,h,m,s,ms](http://momentjs.com/docs/#/manipulating/add/)\n\t\t* `length` - length of time\n\t* `audience` - the jwt [aud claim](http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-23#section-4.1.3) a good choice is the name of your app\n\t* `tokenProperty` - customize the name of the property returning the token value\n\t* `expiresProperty` - customize the name of the property returning the expires value\n\t* `includeUserInJwtResponse` - when JWT is the default response for succesfull log-in you can return the user along with the token by setting this to true - cuts down round tripsg\n\t* `subject` - the jwt [sub claim](http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-23#section-4.1.2)\n* `postActions` - lets waterlock know how to handle various login/logout events, you can read more about this in the [docs](http://waterlock.ninja/documentation/)\n\n# The Future\n\nWe would hope to turn this project into a well oiled jwt management tool for users.\n\n## Tests\n\nTests are run through the wonderful mocha so just clone the library run `npm install` then `npm test`\n\n## Feature Requests\nI love to hear all of your feature requests, so if you have any please open an [issue here](https://github.com/waterlock/waterlock/issues)! I'll be more than happy to work it into the roadmap if feasible.\n\n## Contributing\nFeel free to contribute as you please, the more the merrier. Just please write test cases for everything you submit, in short you can follow the steps below. Happy coding! :smile:\n\n1. Fork it ( http://github.com/waterlock/waterlock/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Write test cases!\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n\n# Legal Stuff\nMIT (see License)\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[npm-url]: https://npmjs.org/package/waterlock\n[npm-version-image]: http://img.shields.io/npm/v/waterlock.svg?style=flat\n[npm-downloads-image]: http://img.shields.io/npm/dm/waterlock.svg?style=flat\n\n[travis-url]: https://travis-ci.org/waterlock/waterlock\n[travis-image]: http://img.shields.io/travis/waterlock/waterlock.svg?style=flat\n\n[dependency-image]: http://img.shields.io/gemnasium/waterlock/waterlock.svg?style=flat\n[dependency-url]: https://gemnasium.com/waterlock/waterlock\n\n[coverage-image]: http://img.shields.io/coveralls/waterlock/waterlock/master.svg?style=flat\n[coverage-url]: https://coveralls.io/r/waterlock/waterlock?branch=master\n\n[gittip-image]: http://img.shields.io/gittip/davidrivera.svg?style=flat\n[gittip-url]: https://www.gittip.com/davidrivera/\n\n[waterlock-image]: https://lh3.googleusercontent.com/-aThk1tYLSh0/U5fAM6NyB5I/AAAAAAAAH84/FKmmmQ80XWY/w611-h144-no/waterlock-header.png\n[waterlock-url]: http://waterlock.ninja/\n\n[climate-image]: http://img.shields.io/codeclimate/github/waterlock/waterlock.svg?style=flat\n[climate-url]: https://codeclimate.com/github/waterlock/waterlock\n\n[gitter-image]: https://badges.gitter.im/Join%20Chat.svg\n[gitter-url]: https://gitter.im/waterlock/waterlock?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n\n[inch-image]: http://inch-ci.org/github/waterlock/waterlock.svg?branch=master\n[inch-url]: http://inch-ci.org/github/waterlock/waterlock\n","maintainers":[{"name":"duhruh","email":"David.R.Rivera193@gmail.com"},{"name":"globegitter","email":"markus.padourek@gmail.com"},{"name":"kriswill","email":"kris@kris.net"},{"name":"wayne-o","email":"wayne@soantribe.com"}],"time":{"modified":"2022-06-28T22:07:44.806Z","created":"2014-05-27T02:15:35.812Z","0.0.1":"2014-05-27T02:15:35.812Z","0.0.2":"2014-05-29T01:22:43.669Z","0.0.3":"2014-05-30T23:14:23.978Z","0.0.4":"2014-06-06T00:05:26.536Z","0.0.5":"2014-06-10T23:57:55.713Z","0.0.6":"2014-06-15T13:48:51.847Z","0.0.7":"2014-06-18T03:02:25.878Z","0.0.8":"2014-06-23T02:10:55.989Z","0.0.9":"2014-07-04T02:57:50.851Z","0.0.10":"2014-07-19T16:21:00.512Z","0.0.11":"2014-08-03T21:03:40.927Z","0.0.12":"2014-08-05T23:28:21.003Z","0.0.13":"2014-09-09T23:33:21.777Z","0.0.14":"2014-12-21T18:05:17.890Z","0.1.0":"2015-04-25T01:50:25.468Z","0.1.2-rc1":"2015-10-16T11:36:27.448Z"},"keywords":["waterlock","sails","authentication","json web tokens","jwt"],"contributors":[{"name":"David Rivera","email":"david.r.rivera193@gmail.com"}],"author":{"name":"David Rivera","email":"david.r.rivera193@gmail.com"},"license":"MIT","readmeFilename":"README.md","homepage":"http://waterlock.ninja/","repository":{"type":"git","url":"https://github.com/waterlock/waterlock"},"bugs":{"url":"https://github.com/waterlock/waterlock/issues"},"users":{"duhruh":true,"jemiloii":true,"ahmedfarooki":true,"vvinder":true,"spad":true}}