In my application one requirement is there, in start up i want some authentication, by that in server side i can know who is using that appliation and i can store info of that persern other side.
i know one way of passing device id, but client dont want that way. is thare any other way for check in authenticate ?
If any one know way then please tell me ASAP.
Thank you for reply in addvance
Edit, since the poster doesn’t want to use usernames or passwords:
Use public key authentication. It’s perfect for your use case, and very secure. Generate a keypair on the device on first launch and then send the public key to the server to register the device. Then whenever you want to authenticate the app’s connection to the server, sign your data with your private key and then your server can decrypt it with the public key. Or you can reverse it and use a signed challenge. Make sure to encrypt the private key since someone could potentially steal it and compromise a user’s data
Or (I’m totally joking, but…) you could have them answer a series of questions, hash the text of the questions, and send that to the server 😀
Have you tried Parse? http://parse.com It has built in authentication and you can store data about a user server-side. You could also use a SHA/MD5 hash of a user-provided username, for example.
Please note that if you’re searching online and see any references to a device UDID or UUID as a unique identifier, this method is deprecated and sometime in the future Apple reserves the right to reject your app from the app store.