@passageidentity/passage-react-native
v0.7.1
Published
Native passkey authentication for your React Native app
Downloads
20
Readme
Native passkey authentication for your React Native app
Welcome!
Integrating passkey technology can be really hard. That's why we built the Passage React Native SDK - to make passkey authentication easy for you and your users, all in a native Android and iOS experience.
Installation
npm i @passageidentity/passage-react-native
Example Usage
import Passage from '@passageidentity/passage-react-native';
const passage = new Passage('APP_ID');
// Register a new user with a passkey
const { authToken } = await passage.registerWithPasskey('[email protected]');
// Get authenticated user info
const user = await passage.getCurrentUser();
Documentation
To get started using Passage in your React Native app, please visit our Passage Docs.