{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"IInitializationResult","type":"basic","slug":"iinitializationresult","excerpt":"Stores data of the result of an initialization.","body":"## Example\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"var result: SocialLogin.IInitializationResult = SocialLogin.init({\\n    googleServerClientId: \\\"<YOUR-CLIENT-ID-HERE>\\\",  // optional\\n});\\n\\nconsole.log(\\\"Facebook isInitialized? \\\" + result.facebook.isInitialized);\\nif (result.facebook.error) {\\n    console.log(\\\"Facebook error: \\\" + result.facebook.error);\\n}\\n\\nconsole.log(\\\"Google isInitialized? \\\" + result.google.isInitialized);\\nif (result.google.error) {\\n    console.log(\\\"Google error: \\\" + result.google.error);\\n}\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n## Members\n\n### facebook\n\n#### error\n\nIf an error occurred, you can find the error information here.\n\n#### isInitialized\n\nDefines if Facebook provider was initialized or not.\n\n### google\n\n#### error\n\nIf an error occurred, you can find the error information here.\n\n#### isInitialized\n\nDefines if Google provider was initialized or not.","updates":[],"order":6,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5759a5475577ba2b00cc4310","__v":0,"createdAt":"2016-06-09T05:45:24.952Z","parentDoc":null,"user":"57429d54990c970e00386e12","githubsync":"","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Classes and interfaces","slug":"classes-and-interfaces","order":2,"from_sync":false,"reference":false,"_id":"5759a5475577ba2b00cc4309","version":"5759a5475577ba2b00cc4306","__v":0,"project":"575656e0a71a711700de7eef","createdAt":"2016-06-09T05:11:07.146Z"},"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},"project":"575656e0a71a711700de7eef"}

IInitializationResult

Stores data of the result of an initialization.

## Example [block:code] { "codes": [ { "code": "var result: SocialLogin.IInitializationResult = SocialLogin.init({\n googleServerClientId: \"<YOUR-CLIENT-ID-HERE>\", // optional\n});\n\nconsole.log(\"Facebook isInitialized? \" + result.facebook.isInitialized);\nif (result.facebook.error) {\n console.log(\"Facebook error: \" + result.facebook.error);\n}\n\nconsole.log(\"Google isInitialized? \" + result.google.isInitialized);\nif (result.google.error) {\n console.log(\"Google error: \" + result.google.error);\n}", "language": "javascript" } ] } [/block] ## Members ### facebook #### error If an error occurred, you can find the error information here. #### isInitialized Defines if Facebook provider was initialized or not. ### google #### error If an error occurred, you can find the error information here. #### isInitialized Defines if Google provider was initialized or not.