Skip to content

PhoneGap JavaScript Plugin to Add, Modify, Remove and Find Keystore entry in the native iPhone/iPad

License

Notifications You must be signed in to change notification settings

javabrown/iOS-Keychain-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS-Keychain-Plugin

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.

⚠️ Report issues on the Apache Cordova issue tracker

##iOS keychain internal design

Installation

// 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

Supported Platforms

  • iOS

config.xml

  • keychain (string). The resource name which is used to store, retrieve and remove the key value pair of data.

Methods

  • keychain.put
  • keychain.get

keychain.put

Store secure entry for a key in keychain.

navigator.keychain.put('key', 'secure-value', success, error);

keychain.get

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.

About

PhoneGap JavaScript Plugin to Add, Modify, Remove and Find Keystore entry in the native iPhone/iPad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published