-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from passageidentity/version-1-update
Passage React native 1.0
- Loading branch information
Showing
45 changed files
with
1,952 additions
and
1,370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,10 @@ 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]'); | ||
const { authToken } = await passage.passkey.register('[email protected]'); | ||
|
||
// Get authenticated user info | ||
const user = await passage.getCurrentUser(); | ||
const user = await passage.currentUser.userInfo(); | ||
``` | ||
<br> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.