tank auth via mobile device |
[eluser]vivar[/eluser]
Hi, 1. I am connecting to CI via native iPhone app 2. I am testing out Tank auth I only want to "pull" certain data from MySQL depending on the user so the user is presented with a login screen within the mobile app and those credentials would be used for user verification by tank auth. Question 1: Can I login to my CI app (which is currently using tank auth) via url since I do not want to use a webform for this? How would I do this? I've seen PHP code where you send http://example.com/login?user=exampleUse...examplePwd but how would this work with tank? Question 2: Am I safe to pass the username / password via url AS long as I am creating an HTTPS (SSL) connection? Regards and thanks for your time, Vivar
[eluser]vivar[/eluser]
Ok, figured it out after posting (usually the way it goes). Question 1 answer: the method is "post" not "get". Question 2 answer: Creating an HTTPS (SSL) connection encrypts all communication between the client and the server. |
Welcome Guest, Not a member yet? Register Sign In |