In what circumstances does iOS require a user to authenticate with their Apple ID prior to making in in-app purchase?
For context, this is my scenario:
My app will offer consumable in-app purchases to a currently logged in user. The quantity of the purchase will be associated with their username and stored on a server I will be running. The username may be associated with multiple devices, and multiple usernames may be associated with the same device.
From searching the forums, I have been led to believe that there is no way to find the Apple ID for the App Store that is currently signed in on a device; otherwise I would just require each unique user to use their own Apple ID. The crux of the question is: will I be safe in assuming that any user who makes an in-app purchase on a particular device had the authority to use the Apple ID with which the purchase was made?
Thanks for your time.