oauthAvailable

This property indicates whether the oAuth service is ready or not when the application starts up

intel.xdk.oauthAvailable

Description:

This property should be checked at intel.xdi.device.ready to see if the OAuth system is available.

Example:


document.addEventListener("intel.xdk.device.ready",onDeviceReadyTest,false);
function onDeviceReadyTest(evt)
{
        if (intel.xdk.oauthAvailable == true) {
                alert("oAuth is available in this application");
        }
}
                
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.