u2f 2.0.1
u2f: ^2.0.1 copied to clipboard
FIDO Universal 2nd Factor. Register a FIDO2 U2F key to your application Verify a FIDO2 U2F key assertion
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add u2f
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
u2f: ^2.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:u2f/u2f.dart';