2.0.47 • Published 3 years ago

@titanium/identity v2.0.47

Weekly downloads
43
License
Apache-2.0
Repository
github
Last release
3 years ago

👉    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

  • Use the Fingerprint sensor of your device to authenticate
  • Use the Face detection API's of your device to authenticate (iOS 11+)
  • Store, read, update and delete items with the native keychain

📚Learn More

📣 Feedback

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

©️ Legal

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.

2.0.47

3 years ago

2.0.46

3 years ago

2.0.45

3 years ago

2.0.28

3 years ago

2.0.29

3 years ago

2.0.37

3 years ago

2.0.38

3 years ago

2.0.35

3 years ago

2.0.5

3 years ago

2.0.36

3 years ago

2.0.33

3 years ago

2.0.7

3 years ago

2.0.34

3 years ago

2.0.6

3 years ago

2.0.31

3 years ago

2.0.9

3 years ago

2.0.32

3 years ago

2.0.30

3 years ago

2.0.39

3 years ago

2.0.44

3 years ago

2.0.42

3 years ago

2.0.43

3 years ago

2.0.40

3 years ago

2.0.41

3 years ago

2.0.15

3 years ago

2.0.16

3 years ago

2.0.13

3 years ago

2.0.14

3 years ago

2.0.11

3 years ago

2.0.12

3 years ago

2.0.10

3 years ago

2.0.19

3 years ago

2.0.17

3 years ago

2.0.18

3 years ago

2.0.26

3 years ago

2.0.27

3 years ago

2.0.24

3 years ago

2.0.25

3 years ago

2.0.22

3 years ago

2.0.23

3 years ago

2.0.20

3 years ago

2.0.21

3 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.1

6 years ago