I got error message with the code below:
Error:
"0x80004002 - JavaScript runtime error: No such interface supported"
Code:
var authenticator = new Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator();
var serviceTicketRequest = new Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest("wl.basic", "DELEGATION");
authenticator.authenticateUserAsync(serviceTicketRequest, Windows.Security.Authentication.OnlineId.CredentialPromptType.promptIfNeeded)
.done(function (){...});
The error is gone after remove the second param "Windows.Security.Authentication.OnlineId.CredentialPromptType.promptIfNeeded". But I can see the API support the 2nd param from IntelliSense in VS2012. Any idea?
Recent Comments