soffes / SAMKeychain

Simple Objective-C wrapper for the keychain that works on Mac and iOS
MIT License
5.4k stars 953 forks source link

Add ability to specific accessibility on a per-item basis #184

Open bvirlet opened 6 years ago

bvirlet commented 6 years ago

We may want to change the accessibility of a given keychain item. However, the only way to do this currently with SAMKeychain is to use the class method [SAMKeychain accessibilityType]. This has two drawbacks:

This PR adds an accessibility field on the SAMKeychainQuery. It doesn't otherwise change the API and stays backward compatible.

bvirlet commented 5 years ago

Hi everyone. Could this be merged since it has been approved?