0.3.9 • Published 28 days ago

react-native-authsignal v0.3.9

Weekly downloads
-
License
MIT
Repository
github
Last release
28 days ago

react-native-authsignal

Check out our official React Native documentation.

Installation

Install the Authsignal React Native SDK using npm or yarn:

npm install react-native-authsignal

Then link the native iOS dependencies:

npx pod-install ios

Initialization

Initialize the Authsignal client in your code:

import { Authsignal } from 'react-native-authsignal';

const authsignal = new Authsignal({
  tenantId: 'YOUR_TENANT_ID',
  baseUrl: 'YOUR_REGION_BASE_URL',
});

You can find your tenantId in the Authsignal Portal.

You must specify the correct baseUrl for your tenant's region.

RegionBase URL
US (Oregon)https://api.authsignal.com/v1
AU (Sydney)https://au.api.authsignal.com/v1
EU (Dublin)https://eu.api.authsignal.com/v1

Usage

Passkeys

For more detailed info on how add passkeys to your app using Authsignal, check out our official passkey documentation for React Native.

Push

To see how to add push authentication to your app using Authsignal, see our official push documentation for React Native.

Examples

Passkeys

You can check out this Github repo to see an example app which implements a sign-in with passkey flow using the Authsignal React Native SDK.

To see an example app which demonstrates integration with AWS Cognito + Amplify, take a look at this this branch.

0.3.9

28 days ago

0.3.6

29 days ago

0.3.8

29 days ago

0.3.7

29 days ago

0.3.5

2 months ago

0.3.4

5 months ago

0.3.3

5 months ago

0.3.2

6 months ago

0.3.0

8 months ago

0.3.1

8 months ago

0.2.1

10 months ago

0.2.0

11 months ago

0.2.3

9 months ago

0.2.2

10 months ago

0.2.4

9 months ago

0.1.0

2 years ago