Keychain is password management system in OS X developed by Apple.
This plugin store, retrieve and remove the key value pair of data such as credentials in a key-value pair.
##iOS keychain internal design
// npm hosted (new) id
cordova plugin add cordova-plugin-splashscreen
// you may also install directly from this repo
cordova plugin add https://github.com/javabrown/iOS-Keychain-Plugin.git
- iOS
- keychain (string). The resource name which is used to store, retrieve and remove the key value pair of data.
- keychain.put
- keychain.get
Store secure entry for a key in keychain.
navigator.keychain.put('key', 'secure-value', success, error);
Retrieve stored entry from the keychain.
navigator.keychain.get('key', success, error);
Your application cannot call navigator.keychain.get(..) or put(..)
until the app has
started and the deviceready
event has fired.