{"_id":"angularjs-social-login","_rev":"7-4bed8667fe3a4107785589e90db0c427","name":"angularjs-social-login","description":"Social Authentication for AngularJS application.","dist-tags":{"latest":"2.6.1"},"versions":{"2.4.5":{"name":"angularjs-social-login","version":"2.4.5","description":"Social Authentication for AngularJS application.","main":"angularjs-social-login.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/heresy/angularjs-social-login.git"},"author":{"name":"Heresy Infotech Private Limited"},"contributors":[{"name":"Srinivas K","email":"kpsrinivas@heresy.in"},{"name":"Jayaram Kurapati","email":"reachme@jayaramk.in","url":"https://www.jayaramk.in"}],"dependencies":{"angular":"^1.3.0"},"license":"MIT","bugs":{"url":"https://github.com/heresy/angularjs-social-login/issues"},"homepage":"https://github.com/heresy/angularjs-social-login#readme","gitHead":"2893097e217b80d85e9531580acfb8e771ff442d","_id":"angularjs-social-login@2.4.5","_shasum":"1524776ea0025093fe0741f9c5450c123dbb0445","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.0.0","_npmUser":{"name":"heresy","email":"help@heresy.in"},"dist":{"shasum":"1524776ea0025093fe0741f9c5450c123dbb0445","tarball":"https://registry.npmjs.org/angularjs-social-login/-/angularjs-social-login-2.4.5.tgz","integrity":"sha512-HZIz0tjmC2KcVsmF+3+dYLMbdKklVT2su3FiCv/b7G1gHSnK7rr/eD3cwjBD/47qRyXfunqpLg+E2xhTtrQGdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3vN2M23hjcb+q1S47O2wrR3izdTCy2IYqD51jO5KuhQIhAPumKrPVeZRnTastzYqAZ/WibmP6GLekCl3zTEeNJ1zA"}]},"maintainers":[{"name":"heresy","email":"help@heresy.in"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angularjs-social-login-2.4.5.tgz_1467797272324_0.08153928234241903"}},"2.5.1":{"name":"angularjs-social-login","version":"2.5.1","description":"Social Authentication for AngularJS application.","main":"angularjs-social-login.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/heresy/angularjs-social-login.git"},"author":{"name":"Heresy Infotech Private Limited"},"contributors":[{"name":"Srinivas K","email":"kpsrinivas@heresy.in"},{"name":"Jayaram Kurapati","email":"reachme@jayaramk.in","url":"https://www.jayaramk.in"}],"dependencies":{"angular":"~1.6.1"},"license":"MIT","bugs":{"url":"https://github.com/heresy/angularjs-social-login/issues"},"homepage":"https://github.com/heresy/angularjs-social-login#readme","gitHead":"78ae6f22ae4a4a795ba8f0cc1dd91b0946887307","_id":"angularjs-social-login@2.5.1","_shasum":"3452e52c03378297c64ff37388301c8944528c44","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"heresy","email":"help@heresy.in"},"dist":{"shasum":"3452e52c03378297c64ff37388301c8944528c44","tarball":"https://registry.npmjs.org/angularjs-social-login/-/angularjs-social-login-2.5.1.tgz","integrity":"sha512-0Q9ug4R7zLIFm3uMYxYnB0N9WbbjYwkqlkMQK0Nhn6lp+CSOrRuvJCSfBi/loQvmzxBOmVC2t/DZeKd7cuHP/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9pmmSuE44hULnEG+PepMMK226NwOP5h/uzupTosydjQIhAM77xMwCx7v6CVWaTXZbVaC7WRsLrg4xwz26UP0xxqy2"}]},"maintainers":[{"name":"heresy","email":"help@heresy.in"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angularjs-social-login-2.5.1.tgz_1493104641079_0.030103170545771718"}},"2.6.0":{"name":"angularjs-social-login","version":"2.6.0","description":"Social Authentication for AngularJS application.","main":"angularjs-social-login.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/heresy/angularjs-social-login.git"},"author":{"name":"Heresy Infotech Private Limited"},"contributors":[{"name":"Srinivas K","email":"kpsrinivas@heresy.in"},{"name":"Jayaram Kurapati","email":"reachme@jayaramk.in","url":"https://www.jayaramk.in"}],"dependencies":{"angular":"~1.6.1"},"license":"MIT","bugs":{"url":"https://github.com/heresy/angularjs-social-login/issues"},"homepage":"https://github.com/heresy/angularjs-social-login#readme","gitHead":"68e318dbf79e76e091c73c77e2d0e6cb219a765e","_id":"angularjs-social-login@2.6.0","_shasum":"5cd14e6c1397fc50aae759c70d3989c9a9da85b9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"heresy","email":"help@heresy.in"},"dist":{"shasum":"5cd14e6c1397fc50aae759c70d3989c9a9da85b9","tarball":"https://registry.npmjs.org/angularjs-social-login/-/angularjs-social-login-2.6.0.tgz","integrity":"sha512-b/ewT+OY+xl545dDFhzdeogi/qvWQQkvcIYXGqmJO+HcS4rY4IGcGnaphDtW+2tkeuamPYPN8gPG32K8bIlEsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWS1wGZGwnIbU6Qw2LKz+CZ7eFsNLVP0SXuamXcMTOggIgBYNvhmQfhZ/Z09YY6HL9DjWsIktAaL2v1dxxG7rb8fA="}]},"maintainers":[{"name":"heresy","email":"help@heresy.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angularjs-social-login-2.6.0.tgz_1499337981744_0.8043838061857969"}},"2.6.1":{"name":"angularjs-social-login","version":"2.6.1","description":"Social Authentication for AngularJS application.","main":"angularjs-social-login.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/heresy/angularjs-social-login.git"},"author":{"name":"Heresy Infotech Private Limited"},"contributors":[{"name":"Srinivas K","email":"kpsrinivas@heresy.in"},{"name":"Jayaram Kurapati","email":"reachme@jayaramk.in","url":"https://www.jayaramk.in"}],"dependencies":{"angular":"~1.6.1"},"license":"MIT","bugs":{"url":"https://github.com/heresy/angularjs-social-login/issues"},"homepage":"https://github.com/heresy/angularjs-social-login#readme","gitHead":"d3cc3c309baf082a43626878c3a06f6aef47aa0a","_id":"angularjs-social-login@2.6.1","_shasum":"b1e4e80260bc9b99f56749962ba4e3cbe9bc5439","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"heresy","email":"help@heresy.in"},"dist":{"shasum":"b1e4e80260bc9b99f56749962ba4e3cbe9bc5439","tarball":"https://registry.npmjs.org/angularjs-social-login/-/angularjs-social-login-2.6.1.tgz","integrity":"sha512-9YXtRBZaEJizycWdbK5jaNG38LNW9/CORH5NWYnbcxYY1t7dW2y4Yukc6HH2YFHQEIVbOY/jW5/jg0tkqflw9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICikIwFMHQgTeMFuuQbvvZloHoTwtVHIC4+jqAJMDfefAiEAu3YbJTfI6y+yBpIJs2dFlvIEAldqp6BpMFswOXvCy9Q="}]},"maintainers":[{"name":"heresy","email":"help@heresy.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angularjs-social-login-2.6.1.tgz_1500441735622_0.06564734177663922"}}},"readme":"# AngularJS Social Login (socialLogin)\nAngularJS Social Login Module is a simple client side authentication module which helps to authenticate your application using Google/Facebook/LinkedIN. It doesn't maintain any session, session between client application and server should be maintained by yourself after receiving user details from the provider.\n\nSupported sites:\n- Google\n- Facebook\n- LinkedIN\n\n## Installation\n\n### via npm\n\n```shell\nnpm install angularjs-social-login --save\n```\n\n### via bower\n\n```shell\nbower install angularjs-social-login --save\n```\n\n### configure installation\n\nInclude JS files:\n\n```html\n<script src=\"bower_components/angularjs-social-login/angularjs-social-login.js\"></script>\n```\n\nThen include `socialLogin` as a dependency for your app:\n\n```javascript\nangular.module('myApp', ['socialLogin']);\n```\n\n## Configuration\n\n### Example\n\n```javascript\napp.config(function(socialProvider){\n\tsocialProvider.setGoogleKey(\"YOUR GOOGLE CLIENT ID\");\n  socialProvider.setLinkedInKey(\"YOUR LINKEDIN CLIENT ID\");\n  socialProvider.setFbKey({appId: \"YOUR FACEBOOK APP ID\", apiVersion: \"API VERSION\"});\n});\n```\n\n## Usage\nThere are total three directives for handling Google, Facebook, LinkedIn authentication.\n- fbLogin (For Facebook)\n- gLogin (For Google)\n- linkedIn (For LinkedIn)\n\n### Methods\n\n- `socialProvider.setGoogleKey(\"YOUR GOOGLE CLIENT ID\")`\n- `socialProvider.setLinkedInKey(\"YOUR LINKEDIN CLIENT ID\")`\n- `socialProvider.setFbKey(\"YOUR FACEBOOK APP ID\")`\n- `$rootScope.$on('event:social-sign-in-success', function(event, userDetails){})` \n   Braodcast event which will be triggered after successful authentication. `userDetails` is an `Object` consists of `{name: <user_name>, email: <user_email>, imageUrl: <image_url>, uid: <UID by social vendor>, provider: <Google/Facebook/LinkedIN>, token: < accessToken for Facebook & google, no token for linkedIN>}, idToken: < google idToken >` \n- `socialLoginService.logout()`\n   For logout\n- `$rootScope.$on('event:social-sign-out-success', function(event, logoutStatus){})`\n   Braodcast event which will be triggered after successful logout.\n\n### Example\n```html\n<button g-login type=\"button\">Google Login</button>\n<button linked-in type=\"button\">LinkedIn Login</button>\n<button fb-login type=\"button\">facebook Login</button>\n```\n","maintainers":[{"name":"heresy","email":"help@heresy.in"}],"time":{"modified":"2022-06-13T03:03:08.985Z","created":"2016-07-06T09:27:52.715Z","2.4.5":"2016-07-06T09:27:52.715Z","2.5.1":"2017-04-25T07:17:23.010Z","2.6.0":"2017-07-06T10:46:21.884Z","2.6.1":"2017-07-19T05:22:16.636Z"},"homepage":"https://github.com/heresy/angularjs-social-login#readme","repository":{"type":"git","url":"git://github.com/heresy/angularjs-social-login.git"},"contributors":[{"name":"Srinivas K","email":"kpsrinivas@heresy.in"},{"name":"Jayaram Kurapati","email":"reachme@jayaramk.in","url":"https://www.jayaramk.in"}],"author":{"name":"Heresy Infotech Private Limited"},"bugs":{"url":"https://github.com/heresy/angularjs-social-login/issues"},"license":"MIT","readmeFilename":"README.md","users":{"reduardo7":true}}