| | |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /// The class provides a convenient abstraction on top of the iOS Keychain API to save data. |
| | | /// The class provides a convenient, multiplatform abstraction of the Keychain. |
| | | /// |
| | | /// When using this API on macOS, the corresponding target must be signed with a provisioning |
| | | /// profile that has the Keychain Sharing capability enabled. |
| | | @interface GULKeychainStorage : NSObject |
| | | |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | |
| | | /// If not `nil`, then only this keychain will be used to save and read data (see |
| | | /// `kSecMatchSearchList` and `kSecUseKeychain`. It is mostly intended to be used by unit tests. |
| | | @property(nonatomic, nullable) SecKeychainRef keychainRef; |
| | | #endif // TARGET_OSX |
| | | #endif // TARGET_OS_OSX |
| | | |
| | | @end |
| | | |