Login using your Intel or social media account in order to authenticate a user.
Login with Intel or social media account, and then logout.
[javascript]
intel.auth.login({
redirect_uri: "http://software.intel.com/en-us/articles/oauth2callback.html",
name: "myLoginWindow",
specs: "location=1,status=1,scrollbars=1,width=700,height=400"
},
successCallback,
errorCallback
);
successCallback = function(data) {
intel.auth.logout(
function(){
// Logout Success
},
errorCallback
);
};
[/javascript]
(*) Before login, you need to execute intel.auth.init in order to obtain API usage authorization.
Click RUN to start
Back to Index