matthewpalmer / Locksmith

A powerful, protocol-oriented library for working with the keychain in Swift.
MIT License
2.92k stars 268 forks source link

What is "forUserAccount" parameter used for? #171

Open srcreigh opened 7 years ago

srcreigh commented 7 years ago

Hi, there is no documentation for what the forUserAccount parameter is used for. Can you explain it? I would guess that it's a way of storing multiple user's data. Anything else I need to know?

srcreigh commented 7 years ago

(This parameter is present in a bunch of main methods in this library, for instance in saveData)

lukemcgregor commented 6 years ago

I also would really like some clarification around this. It doesn't appear anywhere in the docs. Im new to iOS but I though that keychain data was already bound to the current user (iCloud?) and in most cases the current app.