objective c - Handling TouchID Authentication for Login using Database in IOS -


i new ios 8 , new features..i want use touch id in app login application.

in general, app have username,password,department login.i enter username,password , department , backend check given correct match or not , send success response..

now, if have given touch id option login.then know how use touchid in app lacontext. after success authentication how can identify user authenticated particular user..as no response coming api save database unique key.

http://cdn.hayageek.com.s3.amazonaws.com/downloads/ios/touchidauthentication.zip

i googled came know touch id keychaintouchid works this.. but, how can use username,password , department in keychain , verify details exists or not after touchid authentication , retrieve , calling service values..

https://developer.apple.com/library/ios/samplecode/keychaintouchid/history/history.html

is correct approach or other alternative requirements..

example: users a,b & c having touchid supported device iphone 5s..

in app kept usernames aa,bb & cc.

after authenticated using touchid how can user aa or bb or cc.

any ideas or suggestions appreciated..

thank you...

you should store in keychain touchid-protected username , password. when need authenticate user, ask keychain data. ios automatically ask user use finger.if authentication successful yours username , password.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -