IInitializationResult

Stores data of the result of an initialization.

Example

var result: SocialLogin.IInitializationResult = SocialLogin.init({
    googleServerClientId: "<YOUR-CLIENT-ID-HERE>",  // optional
});

console.log("Facebook isInitialized? " + result.facebook.isInitialized);
if (result.facebook.error) {
    console.log("Facebook error: " + result.facebook.error);
}

console.log("Google isInitialized? " + result.google.isInitialized);
if (result.google.error) {
    console.log("Google error: " + result.google.error);
}

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.