-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4dc3875
commit 539e506
Showing
1 changed file
with
2 additions
and
2 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 'package:passage_flutter/passage_flutter.dart'; | |
final passage = PassageFlutter('YOUR_PASSAGE_APP_ID'); | ||
// Register a new user with a passkey | ||
await passage.registerWithPasskey('[email protected]'); | ||
await passage.passkey.register('[email protected]'); | ||
// Get authenticated user info | ||
final user = await passage.getCurrentUser(); | ||
final user = await passage.currentUser.userInfo(); | ||
``` | ||
|
||
To see a full example, check out our [Flutter Example App](https://github.com/passageidentity/example-flutter). | ||
|