Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaSeylani committed Oct 2, 2024
1 parent 4dc3875 commit 539e506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 539e506

Please sign in to comment.