Closed jingx23 closed 9 years ago
@jingx23 KeyChain has an important role in this library, so I think it's wrong to delegate core functions. Any Keychain wrapper does almost the same things and the final result is always the same, so what is your problem with UICKeyChainStore?
That´s right the Keychain wrappers do almost the same thing but I made this abstraction layer because I didn´t want another dependency in my project.
In any case you will have the UICKeyChainStore dependency in your project because it would be used as default KeyChain wrapper.
I added a protocol to use own keychain wrapper instead of the hardwired
UICKeyChainStore
. Example Implementation usingFDKeychain
: