There are some apps that allow logging in via Touch ID (for instance banking apps).
I know that it is relatively secure to use this feature as long as no-one has illicit access to my fingerprints, and the device is not physically accessed.
But what if the database of the application gets compromised?
What kind of information will be leaked? What sort of actions could be taken having this information? Does iOS protect this information from being leaked? Is this documented somewhere?
I can guess that the application will not be given direct access to the finger-print photo, there should be some kind of hash which doesn't allow restoring the original finger-print. In the ideal case, iOS would not even allow the app to access a hash, instead it would provide some way of authorizing.