I'm trying to login in a native iOS app to Worklight 6.1 server and I'm not able to find anything that can help, I read the documentation about authenticators, challenges and challenge handlers, but when I try the challenge handler is always called event if the resource (procedure) is not protected with security test.
I have the following questions:
- How can I handle user login? I read in the javascript code in a hybrid app that is integrated with the same server and found a login function in WLClient which I can't find in the native app SDK.
- How can I get the logged in user data and how can I check if the user logged in or not?
- what is "wl_unprotected" securityTest? is it the same as not assigning a security test to the procedure or not?
Please help because I'm not able to understand this complicated authentication mechanism in anyway.
Thanks in advance.