Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@titanium/identity

mobilehero-archive105Apache-2.02.0.47

⭐ Axway Amplify modules to use Fingerprint authentication, Keychain Access and Face authentication (iOS) with Appcelerator Titanium SDK

titanium, mobile, alloy, turbo, axway, appcelerator, ios, android, iphone, ipad, sdk, plugin, amplify, api-builder, appcelerator-titanium, titanium-sdk, titanium-mobile, titanium-module, axway-sdk, axway-amplify, brenton-house

readme

Preparing for end of Axway

👇   support for Amplify Cloud and Mobile   👇

RIP Axway Amplify Titanium (2010 - 2022)

🪦   RIP Axway Amplify Titanium (2010 - 2022)

🪦   RIP Axway Amplify Cloud Services (2012 - 2022)

🪦   RIP Axway Amplify Crash Analytics (2015 - 2022)


🛑    Axway support for Amplify products has ended for most products related to mobile and cloud.

A few of the open-source versions of Axway Amplify products will live on after Axway Amplify End-of-Life (EOL) announcements. However, all closed-source projects and most open-source projects are now dead.

 

👉    A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.

 


API FAQ:

 

Click to watch on Youtube

  ↑ Watch video on YouTube ↑

 

 


 

 

@titanium/identity

@titanium/identity Dependabot Status

Native modules that allows you to use Fingerprint authentication, Keychain Access and Face authentication (iOS) with Axway Titanium.

📝 Description

This is a repackaging of the compiled iOS and Android modules for Ti.Identity to allow for installation via npm.

🚀 Getting Started

  1. Install @titanium/identity in root of project
npm install @titanium/identity
  1. Using Keychain feature
const Keychain = require('@titanium/identity/Keychain');
const usernameKeychain = new Keychain('username');
const passwordKeychain = new Keychain('password');

// saving values
usernameKeychain.save('my-username');
passwordKeychain.save('my-password');

// Loading values
passwordKeychain.load()
    .then(value => {
        const password = value;
        Authentication.authenticate({ username, password });
    })
    .catch(require('@titanium/identity/KeychainItemNotFound'), error => {
        console.error('KeychainItemNotFound error in passwordKeychain.load()');
        console.error(error);

    })
    .catch(error => {
        console.error('A different error has occurred in passwordKeychain.load()');
        console.error(error);
    });


// resetting values
usernameKeychain.reset();
passwordKeychain.reset();

✨Features

iOS: ti.identity 3.0.0 Android: ti.identity 3.0.3

  • <input checked="" disabled="" type="checkbox"> Use the Fingerprint sensor of your device to authenticate
  • <input checked="" disabled="" type="checkbox"> Use the Face detection API's of your device to authenticate (iOS 11+)
  • <input checked="" disabled="" type="checkbox"> Store, read, update and delete items with the native keychain

📚Learn More

📣 Feedback

Have an idea or a comment? Join in the conversation here!

Modules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/titanium-identity

Alloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.

Alloy is made available under the Apache Public License, version 2. See their license file for more information.

Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.