I am developing an iOS native client for a service that uses Javascript. Although I have little to no experience with Javascript and URL session with javascript login, my plan is to leverage the new JavascriptCore Framework Objective-C API to interact with objects and functions. My main concern is how to authenticate and initiate the URL Session given that the login functionality resides in the .js file.
Here is what I know:
Javascript file: js/Applications/Html/HtmlLogin.js
WebService: /WebServices/Service.asmx/
Function: LoginUser
CodeFile: CallWeb.Membership.User
Function: GetUser