{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"loginWithGoogle","type":"fn","slug":"loginwithgoogle-callback","excerpt":"Logs in with Google auth API.","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"SocialLogin.loginWithFacebook(\\n    (result) => {\\n        console.log(\\\"code: \\\" + result.code);\\n        console.log(\\\"error: \\\" + result.error);\\n        console.log(\\\"userToken: \\\" + result.userToken);\\n        console.log(\\\"displayName: \\\" + result.displayName);\\n        console.log(\\\"photo: \\\" + result.photo);\\n        console.log(\\\"authToken: \\\" + result.authToken);\\n    }\\n);\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]","updates":["5c7fc94bb42aca00330a4b7e"],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5759a5475577ba2b00cc430f","user":"57429d54990c970e00386e12","createdAt":"2016-06-09T05:09:56.624Z","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Functions","slug":"functions","order":1,"from_sync":false,"reference":false,"_id":"5759a5475577ba2b00cc4308","project":"575656e0a71a711700de7eef","createdAt":"2016-06-09T03:13:43.221Z","__v":0,"version":"5759a5475577ba2b00cc4306"},"parentDoc":null,"version":{"version":"1.3.1","version_clean":"1.3.1","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5759a5475577ba2b00cc4307","5759a5475577ba2b00cc4308","5759a5475577ba2b00cc4309"],"_id":"5759a5475577ba2b00cc4306","createdAt":"2016-06-09T17:20:07.619Z","releaseDate":"2016-06-09T17:20:07.619Z","project":"575656e0a71a711700de7eef","__v":1},"__v":1,"project":"575656e0a71a711700de7eef","githubsync":""}

loginWithGoogle

Logs in with Google auth API.

[block:code] { "codes": [ { "code": "SocialLogin.loginWithFacebook(\n (result) => {\n console.log(\"code: \" + result.code);\n console.log(\"error: \" + result.error);\n console.log(\"userToken: \" + result.userToken);\n console.log(\"displayName: \" + result.displayName);\n console.log(\"photo: \" + result.photo);\n console.log(\"authToken: \" + result.authToken);\n }\n);", "language": "javascript" } ] } [/block]