{"_id":"openid-connect","_rev":"58-c7d54a4221ddf78842aedf8eade06d7b","name":"openid-connect","description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","dist-tags":{"latest":"1.2.4"},"versions":{"0.0.1":{"name":"openid-connect","version":"0.0.1","keywords":["oauth","oauth2","server","openid","connect","openid/connect"],"description":"This is an OAuth 2 server implementation with support for OpenID/Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.0.1","dist":{"shasum":"62744eba803e52f26125737864ee130cd6751282","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.0.1.tgz","integrity":"sha512-Zzxyzntk2yBSDoCiL2+dnFr8MQ98qd1/wVu6T6lBRkRHi6vD1fcy6s/on/U5OsLur6RmFKVuct7Uhmr1UObPAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3DtdxbvuLNmtTjB+yNu3TAQ7N4Z9LsKD5onqPhaXn8gIhAMu5Idcz+e7dxGtDVCG3o49ketYuFJOueHUpmNo2Mrtz"}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}],"directories":{}},"0.0.2":{"name":"openid-connect","version":"0.0.2","keywords":["oauth","oauth2","server","openid","connect","openid/connect"],"description":"This is an OAuth 2 server implementation with support for OpenID/Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.0.2","dist":{"shasum":"e7e35d2e9a666c883fbdad1d150f688729e152f5","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.0.2.tgz","integrity":"sha512-OFdVRe27R3F7vUYuzky8IBp8DBb7sMSK9e5f3r9q1LYRVgO3kiICH/XhnJInHuFGT7XK1fT0kdicmOpAzifpDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6wrGLGV8f1NPgtU/svmrLV/ysGHp9fcvzg5/l2zCEpAIgSjeda43AXNaGD0MKalRouz7C8W57sL4WVq3Pcg+MAak="}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}],"directories":{}},"0.1.0":{"name":"openid-connect","version":"0.1.0","keywords":["oauth","oauth2","server","openid","connect","openid/connect"],"description":"This is an OAuth 2 server implementation with support for OpenID/Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.0","dist":{"shasum":"4ab6d02f5e2a57aeb0ae109e81b298356b589aeb","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.0.tgz","integrity":"sha512-dVcm3rh0mbOHSow2K1Fex9UcYxoHPNkgt2YOYusKl0PSO7q5Zitx6NLTqKL3Qaut0J0SWEUEjvpHJDRO2PQc7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRpBPQU+XZfKm2wA21pJ01dSyXKGPadZFx+2jshROj7AiEA5hxijQ/UqiSVvTbAcAPCR6N6pYag7bJbevwqmxgVhoM="}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}],"directories":{}},"0.1.1":{"name":"openid-connect","version":"0.1.1","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.1","dist":{"shasum":"b74138bdfc4f8c57896d5668660a03c5d798edc1","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.1.tgz","integrity":"sha512-uClAYSVydMpwJvmDy1IRwzbfw4OoW7kY0HGR+UZzs/+TLc9RVYc9crUK/toCdiKUAJTqhJ3NfRXkZGxeEkF8uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrIlVs2jL0bluMsntEsvAbPcwjCGbhv7UvzN5b9DFPAwIhANdxPa4nbTIfuMX8HxndKFPMd5J+8ddKzqfpnKCKS+XX"}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"0.1.2":{"name":"openid-connect","version":"0.1.2","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.2","dist":{"shasum":"a6292b1386af61cd81f5861fc6cbb2e0927bbfc3","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.2.tgz","integrity":"sha512-3mtJ6XjRCnHXSI9hADWvQDsnWDZ3PAyFC4acCwwxGv2UKR7RTRV+HuEG5uvEHBCh8P78CG4Xj/yq23l3ACzYHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD4hi1cPxsZAbJ/nydiLKrqCpB0UNNB5Tl893TQ844KwIhANaWA39tPi28WRlZdkXRUa1c2c7OTw1j85u8aslOFMZ0"}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"0.1.3":{"name":"openid-connect","version":"0.1.3","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.3","dist":{"shasum":"c3ab2db9d504d12485864132f6daef5219c1f0d3","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.3.tgz","integrity":"sha512-M2hRNUQXIfu8s1K6Tuw4vpQLMVTV784WNjavJ6UKfZrQxwm2QmDS1I5eGdtPWhYW5zo9PsOS9/CiqGVfRiB3Gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYbqLzPQaOc2MvCDOVWYFEQ0AjP6R6aYNSGsnIj9xd7QIgG3CoZtmJ1yBMafqQib4lPNdjAbQsZ2SA8puLKrVhnfM="}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"0.1.4":{"name":"openid-connect","version":"0.1.4","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"serializer":">=0.0.2 <0.1.0","extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.4","dist":{"shasum":"43e9d9832f1db99ba1135dad958d2598e4f86937","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.4.tgz","integrity":"sha512-OE1NcKAX2kF81U+ZHEbdOb8UvFRXopS/YoCwzWe/w2T4gyxkr9CNFlFJrMnA1RoKrJ7CsDCzK8g2H2mHcF8zbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUCIML3abe2h+0h8uLldcMTFJ721GzJGidQbXztolJPwIhAMTfzish43Bi4WjCa7TDOEyOSW5q1mNF3yJ2O+s5Hw6i"}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"0.1.5":{"name":"openid-connect","version":"0.1.5","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.5","_from":"openid-connect@*","dist":{"shasum":"18a35a564982668184816def63a3fca8e349f029","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.5.tgz","integrity":"sha512-cTH2fBVWzzRXqrUFz1myNPXiOqS04tV79RQoDpdxdEaFSjlUjyMvZWVmSuTWY3XS7oL3jprJR3dTwI3BLWT1Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4IChrAr5XQytnGaXrV4B/p8icd8wsz4/VFB06A+mkKAiEAysWYfpRkPfrp/J6HC7xmPfa5Cuc8Q5bfH9tmaVi2bCg="}]},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"0.1.6":{"name":"openid-connect","version":"0.1.6","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","redis-modelize":"0.0.1","q":"0.9.6","jwt-simple":"0.1.0"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@0.1.6","_from":".","bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"dist":{"shasum":"3df2047a9876f799d527731c0a78592753bf4d40","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-0.1.6.tgz","integrity":"sha512-+ZfirGHuet1VGDC6x5t9kl8QM4gmFJMQZzr7QoXzBwCpg0p1Tyql1R9b3QnCXDTE2HaQkvSF6CgXm9w1RVCgdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFY7IjYcoONX6uAayUNrtLRNO4tfCzPXNbOgTzhZH3hcAiEA44PG17bF9MRbfJbe2zahzjC5vFi6PVglaF5GYPwBb5A="}]},"_npmVersion":"1.3.14","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.0":{"name":"openid-connect","version":"1.0.0","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"_id":"openid-connect@1.0.0","_from":".","bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"dist":{"shasum":"b5b7c6d2274c67ba6e78d68a70121209859935e2","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.0.tgz","integrity":"sha512-Z+b245fq4H/PEOzUte6kHqwCySzNW71e+F4gWCMBfBs0epQPWDF7XSUk0zvnCJEf3r91r5vUpQ7u9ilJZermwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhUBATxsqqxyXEhvm7WAYPIeHcgtq3G4Sxli1RVu2+fAIhALBlU8NKAYias60gFMO5Sz/vguFLfNXIDnSkfG8FSBg5"}]},"_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.1":{"name":"openid-connect","version":"1.0.1","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.1","dist":{"shasum":"ea95a24b46033b7e1bd4effc818c793279ef0c29","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.1.tgz","integrity":"sha512-piJmV2y7FytpdWN2KmooSe8iougWBsnkDgIy9hlbZgGmdF9ZHgAvEXET0upJZjxnAchhSc/PdCmwl+39v6ox7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYTcrpBirmuo5CrDCcE9CscGO1GwoB3gvRCmpU0rPcYQIgD7tPwZJW01+mH+GXgdMW7Jn10+k+hL2U9oByFfFl2Ps="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.2":{"name":"openid-connect","version":"1.0.2","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.2","dist":{"shasum":"f70afa378fbdc75831177fdf939fae847c261866","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.2.tgz","integrity":"sha512-7Ps39EWpbGIUjXKf8oNyeYvnIsiWquHmJuro5CFEb2BeOJmOk62wxPaeGhsjGUJnSUdsKn8z/1IfcVJYrEuqnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAm2JMIVAuWTnBjzErSXUMyNlmnpfQJgYiYhQfRMwD2qAiEA/PrCgeKnF9duynNQcT3DdEErJUKXuai4UXJqYmvWhP0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.333":{"name":"openid-connect","version":"1.0.333","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.333","dist":{"shasum":"49952f60e780c3ee4880df9bc12464f9bd4fb371","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.333.tgz","integrity":"sha512-pg0avMcGb45WdiL6RXhnt4wfhU8eHoFgPelaGvU0i7mqDEyw+Rs+ArEkiQyJ7W8mcUujJ2f+16Ht2EPlr5fIeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz56EQs5Zx7XigdxFasDs0zkHi3MwDNQwPQ1V3T7EFzgIgMQVgoPRuuF3W9pkAtZK7vKe0dLpUrAkdN1ky0nkE7Is="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.4":{"name":"openid-connect","version":"1.0.4","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.4","dist":{"shasum":"c192782de4ef3707c7c60979eb3279194d1622bf","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.4.tgz","integrity":"sha512-uk4Bqskpsae2qB7PkS/8NtXv7EXsfjO8Y+w8cl9P+e87yu6MvvFXub2fxtdUS0lzSJketWK5+/rGIyQSEwwryA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJkKa1bSHU7lN7kVlNlhPQ0ME8lb8n5smZTRqq9jdISAiBT17fYmv8hKfJ3NmLcMGpVBSHDKKJvhPkeroevjMRyNg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.5":{"name":"openid-connect","version":"1.0.5","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.5","_shasum":"d4ff13e642c522fd74257a9bf9187538bdfc3b25","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}],"dist":{"shasum":"d4ff13e642c522fd74257a9bf9187538bdfc3b25","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.5.tgz","integrity":"sha512-SDBRNkvq0InjOQTmaHHDEpfxBnSeVMR217/hZchxXf2Esilzmz2rA7ssvgE71DpNfobAbzbt+gRf/axpZbog0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkWm+ruFFHbuLWz87J1NYMU9O79k0bEgylhsz1Ein2RAiBF+fZ6Y8bwZMg4NDYSJR7f1/WLyj4uK16VHMbTcUYYEg=="}]}},"1.0.6":{"name":"openid-connect","version":"1.0.6","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.6","dist":{"shasum":"896db304dfcada5c91800ff9019dc82d8e8ac4a1","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.6.tgz","integrity":"sha512-x5ojTvQnnL7fZs3EVzNSbicmVjkbEgqnWWHmuZbkNtwJ+q+UDADX3n+4RuG8mlzQjIZcEuAJw9D80nPAXdmffA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVZ+atPsgXEZmSOoe40Vx6YdmPwtNULKDcE3qzVxLoXwIhALKdmH3cp1oFnNqVOgbx4ynloQ37V0/M/MUtOU6VeBc1"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.0.7":{"name":"openid-connect","version":"1.0.7","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.0.7","dist":{"shasum":"877c10f35050c1a92fa496ee52aeeebd8f512cc0","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.0.7.tgz","integrity":"sha512-FqEgk9z0Zzq7koda3dTL1SGQLe4gTjydkilYb0T/UB6sGRyBwDFhMjv6QLInIlyvmHE6qvbbKCy4U9Y8d+Bxhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPWP6NoIqutlAB5jaVl8GytC1dsJc8hNN58ZtFUEKtrwIgCoHRtvmXP7Gzww5aE6xkKnR5E4HAFErCXZBjX3TbazU="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.1.0":{"name":"openid-connect","version":"1.1.0","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"gitHead":"9b0182028a9210182854e2ca699c3aa20c68a2c3","bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.1.0","scripts":{},"_shasum":"dd6e8433e10805b21836cef2920cceb81879403c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}],"dist":{"shasum":"dd6e8433e10805b21836cef2920cceb81879403c","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.1.0.tgz","integrity":"sha512-ke9mpKd2JtjWWesabTRoztau7ACO1Wxj5ULqd3L+ele+/aYC7pfIoPek/x19Ao6ZMB376z0tYOSYt5k5I5cgeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLW0hYSS67JmTgXAI+I7CNPs3Gdar6YU4ccCw2RGqSUAIhAJU8GWjvvQii7SjgGwc+sTNvwaufSfuoQPDkW09v+/X+"}]}},"1.2.0":{"name":"openid-connect","version":"1.2.0","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.2.0","dist":{"shasum":"1b5be965aad1bbb6111f1269d989274e44c6e044","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.2.0.tgz","integrity":"sha512-P/nhCtQ0e2MRjErWwJlEdgPCD0E4BKBF9kBzqDkdqiaNwR23xiBIOhuUB3tAB79EPKj0R5ZJKmK8oqxJdVxn8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDROIK+N/sML5bGehXk49DP3iUrAnV7rJgKBFOE09mX3QIhAPc6rd94A1so2oO30AJd9ce34nH7Q9SAyoo9oOG9nyjD"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.2.1":{"name":"openid-connect","version":"1.2.1","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.2.1","dist":{"shasum":"ad5c8a467e0289e874a979d3f29439521210204e","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.2.1.tgz","integrity":"sha512-lUbjZ29sHHfBylDWMjnuxp7Uz2FfseelsgRMRbCb2EisqP5AqrnzhnySS3+OD1iQ2BARkee8rmW5xIoY8EY2Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdlfhlgQJKmSNmpgA4twYkDl0ULnew6AFsbwTvqbjmtQIgJajLPVYmwQ9JRJOmjNCRT3mo7xu8XqnXmvU4/4uU7Qk="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"}]},"1.2.2":{"name":"openid-connect","version":"1.2.2","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"git://github.com/balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.2.2","dist":{"shasum":"a9fcb816c5a9f5a2ee4473e043b41479551867d4","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.2.2.tgz","integrity":"sha512-R0MQ6P0xRSjO9K6+BfPMDSxJ8KQcQgo1Sxv1HWdiVsW7z+8s0wU0PDxuB7QpoYFTIVAgNMBpebxDYZaufpO7DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGj7/7btOtREDtorcMMY4hus5MxVVBpbj6ezAM3LBPxoAiAf2KLC9Dc1doU3L2camZX1oyKgpY0G8mzrpezYVuavVQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},{"name":"markkopaas","email":"markko.paas@gmail.com"}]},"1.2.3":{"name":"openid-connect","version":"1.2.3","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"git+https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"extend":"1.1.3","sails-redis":"github:balderdashy/sails-redis","modelling":"*","q":"0.9.6","jwt-simple":"0.1.0","lodash":"*","base64url":"*","clean-obj":"*"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"gitHead":"69d1cfe2e95b4e3ca596001cc37ac54a6f472438","bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.2.3","scripts":{},"_shasum":"f1e794e2b35e9e7f955e08eea4e11849fd861b28","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},{"name":"markkopaas","email":"markko.paas@gmail.com"}],"dist":{"shasum":"f1e794e2b35e9e7f955e08eea4e11849fd861b28","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.2.3.tgz","integrity":"sha512-R3Cj5PzPN2FJ1gwrKQU8QN+KbdDW3GgtPpgiFMi60l9RIyfpRWP+gWxcH9mZSpcyOmFA4vjWvX2jZcxEEw5vHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5Q/aPeOCkIjh+6VxHxHqtC+gYGAppMRLRKJZytj7RNAiAxhVz3PUnq+ag1b0vwDkFiEk0ZvuIJIuZnPOjCSPMTfQ=="}]}},"1.2.4":{"name":"openid-connect","version":"1.2.4","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"description":"This is an fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.","homepage":"https://github.com/agmoyano/OpenIDConnect","repository":{"type":"git","url":"git+https://github.com/agmoyano/OpenIDConnect.git"},"author":{"name":"Agustín Moyano"},"main":"index","dependencies":{"base64url":"^1.0.4","clean-obj":"^0.1.2","extend":"^3.0.0","jwt-simple":"^0.3.1","lodash":"^3.10.1","modelling":"0.0.3","q":"^1.4.1","sails-redis":"^0.10.5"},"directories":{"example":"./examples"},"licenses":[{"type":"MIT","url":"https://github.com/ammmir/node-oauth2-provider/blob/master/LICENSE"}],"gitHead":"5d5e56c6e0ffbec7ce0bc1b0c0c1c5148f1de724","bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"_id":"openid-connect@1.2.4","scripts":{},"_shasum":"deb557988be91dd6a062160ddf3b11f20db01b6a","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},"maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},{"name":"markkopaas","email":"markko.paas@gmail.com"}],"dist":{"shasum":"deb557988be91dd6a062160ddf3b11f20db01b6a","tarball":"https://registry.npmjs.org/openid-connect/-/openid-connect-1.2.4.tgz","integrity":"sha512-Qz2wKpUWzy9NkNv1ZVDZPcw4fqcrLE+X7N+MoPqhOuqvLDlxAfKxguPk9CVloYtu19qikXcE8PkmuvmCMiiseg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnIatgO8Rvy1PrUrHGPKJ656VD15fMVIPRMIPR6AZcZQIhAO4UlXUR8Z+nZstjppiJiDshJxm4GHmF93GWuJUOJOGm"}]}}},"readme":"# OAuth 2 Server with OpenID Connect support\n\nThis is a fully functional OAuth 2 server implementation, with support for OpenID Connect specification. Based on https://github.com/ammmir/node-oauth2-provider.\n\n## News\n\nMajor rewrite. Now we use [modelling](https://www.npmjs.org/package/modelling) for Model part.\n\n## Install\n\nInstall via npm:\n\n    npm install --save openid-connect\n\nYou can add it to your Connect or Express application as another middleware.\nBe sure to enable the `bodyParser` and `query` middleware.\n\nTo use it inside your project, just do:\n\n```\nvar oidc = require('openid-connect').oidc(options);\n```\n\nand then, for example, with express\n\n```\napp.get('/authorization', oidc.auth());\n```\n## Options\n\nWhen you require openid-connect, you may specify options. If you specify them, it must be with a json object with the following properties (all of them are optional):\n\n* __login_url__\n\n  URL where login form can be found. Defaults to _\"/login\"_.\n\n* __consent_url__\n\n  URL where consent form can be found. Defaults to _\"/consent\"_.\n\n* __scopes__\n\n  Json object of type { _scope name_: _scope description_, ... } used to define custom scopes. \n\n* __models__\n\n  Models as described in [modelling](https://www.npmjs.org/package/modelling).\n  \n  Actually OpenIDConnect defines 6 models:\n  \n  * _user_: Where user data is stored (email, password, etc).\n  * _client_: Where user can register a client app that will use your project for authentication/authorization.\n  * _consent_: Where user consent of certain scopes for a particular client is stored.\n  * _auth_: Where authorization data is stored (token, expiration date, etc).\n  * _access_: Where access data is stored (token, expiration date, etc).\n  * _refresh_: Where refresh data is stored (token, expiration date, etc).\n\n  You can overwrite any part of any model of OpenIDConnect, or overwrite all of them.\n  \n  If you overwrite user model, the new model _should_ conform with [OpenID Connect Standard Claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), in order to comply with the spec.\n  \n* __adapters__\n  \n  Adapters as described in [modelling](https://www.npmjs.org/package/modelling).\n  \n* __connections__\n  \n  Connections as described in [modelling](https://www.npmjs.org/package/modelling).\n  \n* __policies__\n  \n  Policies as described in [modelling](https://www.npmjs.org/package/modelling).\n  \n* __alien__\n\n  You can use your own Waterline collections with OpenIDConnect. \n  \n  If you define an alien collection with the same name of one of the models in OpenIDConnect, the last one will be replaced.\n  \n  For example:\n  \n  ```\n  var orm = new Waterline();\n  \n  var MyUserModel = Waterline.collection.extend({\n  \tidentity: 'user',\n  \t//Collection definition here.\n  });\n  \n  var MyUsersCarModel = Waterline.collection.extend({\n  \tidentity: 'car',\n  \t//Collection definition here.\n  });\n  \n  var config = {\n\tcollections: {\n\t\tuser: MyUserModel, //replace OpenIDConnect user model. \n\t\tcar: MyUsersCarModel //add new model\n\t}\n  }\n  \n  orm.initialize(config, function(err, result) {\n  \tvar options = {\n  \t\talien: result.collections\n  \t}\n  \n  \tvar oidc = require('openid-connect').oidc(options);\n  \n  \tapp.get('/cars', oidc.use(['user', 'car']), function(req, res, next) {\n  \t\t...\n  \t});\n  });\n  ```\n  \n  __Beware__ that if you replace an OpenIDConnect model, you won't be able to use _populate_ with other OpenIDConnect models.\n  \n  If you replace user model, the new model _should_ conform with [OpenID Connect Standard Claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), in order to comply with the spec.\n\n* __orm__\n\n  You can replace the whole OpenIDConnect modelling instance with your own. \n  \n  __Beware__ that you __must__ implement at _least_ all models and exept for `user` model, all attributes. \n  \n  If in your models, you set `autoPK` to false, they __must__ have an `id` attribute that is primary key.\n  \n  _Notice_ that you can get OpenIDConnect's default models with `require('openid-connect').defaults().models`.\n  \n  ```\n  var orm = new modelling(options);\n  \n  var oidc = require('openid-connect').oidc({orm: orm});\n  ```\n\n## API\n\n* **auth()**\n\n  returns a function to be placed as middleware in connect/express routing methods. For example:\n\n  ```\n  app.get('/authorization', oidc.auth());\n  ```\n \n  This is the authorization endpoint, as described in [http://tools.ietf.org/html/rfc6749#section-3.1](http://tools.ietf.org/html/rfc6749#section-3.1)\n\n* **consent()**\n\n  returns a function to be placed as middleware in connect/express routing methods. For example:\n \n  ```\n  app.post('/consent', oidc.consent());\n  ```\n \n  This method saves the consent of the resource owner to a client request, or returns an access_denied error.\n\n* **token()**\n\n  returns a function to be placed as middleware in connect/express routing methods. For example:\n \n  ```\n  app.get('/token', oidc.token());\n  ```\n \n  This is the token endpoint, as described in [http://tools.ietf.org/html/rfc6749#section-3.2](http://tools.ietf.org/html/rfc6749#section-3.2)\n\n* **check(scope, ...)**\n \n  returns a function to be placed as middleware in connect/express routing methods. For example:\n \n  ```\n  app.get('/api/user', oidc.check('openid', /profile|email/), function(req, res, next) { ... });\n  ```\n\n  If no arguments are given, checks if user is logged in.\n \n  Arguments may be of type _string_ or _regexp_.\n \n  This function is used to check if user logged in, if an access_token is present, and if certain scopes where granted to it.\n\n* **removetokens()**\n\n  returns a function to be placed as middleware in connect/express routing methods. For example:\n  \n  ```\n  app.get('/logout', oidc.removetokens(), function(req, res, next) { ... });\n  ```\n  \n  This function removes all tokens that were issued to the user.\n  \n  *access_token* is required either as a parameter or as a Bearer token.\n  \n* **userInfo()**\n\n  returns a function to be placed as middleware in connect/express routing methods. For example:\n\n  ```\n  app.get('/api/user', oidc.userInfo());\n  ```\n\n  This function returns the user info in a json object. Checks for scope and login are included.\n\n* **use([name])**\n\n  Same description as in [modelling](https://www.npmjs.org/package/modelling). If you defined _alien_ models or your own _orm_ you can call those models as well.\n  \n* **getOrm()**\n\n  Retrieves current _orm_ of instance.\n \n## Example\n\nThere is a complete example [here](https://github.com/agmoyano/OpenIDConnect/tree/master/examples).\n\n## Help!\n\nAny suggestions, bug reports, bug fixes, pull requests, etc, are very wellcome ([here](https://github.com/agmoyano/OpenIDConnect/issues)). \n\nThanks for reading!.\n","maintainers":[{"name":"agustin.moyano","email":"agustin.moyano@gmail.com"},{"name":"markkopaas","email":"markko.paas@gmail.com"}],"time":{"modified":"2022-06-22T23:55:13.762Z","created":"2013-07-31T01:24:29.239Z","0.0.1":"2013-07-31T01:24:35.284Z","0.0.2":"2013-08-01T23:17:05.340Z","0.1.0":"2013-08-02T19:45:19.116Z","0.1.1":"2013-08-03T09:01:47.252Z","0.1.2":"2013-08-27T13:14:11.671Z","0.1.3":"2013-08-27T13:24:07.669Z","0.1.4":"2013-09-10T13:31:49.963Z","0.1.5":"2013-10-29T18:15:25.718Z","0.1.6":"2013-11-19T12:56:28.825Z","1.0.0":"2014-04-08T23:48:23.663Z","1.0.1":"2014-04-09T00:07:01.840Z","1.0.2":"2014-05-09T17:36:41.124Z","1.0.333":"2014-05-09T17:56:45.957Z","1.0.4":"2014-05-09T17:57:19.857Z","1.0.5":"2014-06-02T14:11:59.018Z","1.0.6":"2014-06-04T13:54:19.026Z","1.0.7":"2014-06-18T10:56:57.974Z","1.1.0":"2014-07-11T13:16:37.747Z","1.2.0":"2014-07-19T14:31:50.810Z","1.2.1":"2014-08-13T17:01:37.930Z","1.2.2":"2014-10-13T18:13:46.016Z","1.2.3":"2015-09-28T18:49:25.399Z","1.2.4":"2015-09-28T19:04:05.731Z"},"author":{"name":"Agustín Moyano"},"repository":{"type":"git","url":"git+https://github.com/agmoyano/OpenIDConnect.git"},"homepage":"https://github.com/agmoyano/OpenIDConnect","keywords":["oauth","oauth2","oauth2 server","oauth2 provider","openid server","identity provider","server","openid","connect","openid connect"],"bugs":{"url":"https://github.com/agmoyano/OpenIDConnect/issues"},"readmeFilename":"README.md","users":{"ryanthejuggler":true,"madeofpeople":true,"bitsandbytez":true,"bitsonic":true,"ivan.marquez":true,"mshwery":true}}