passkeys 1.3.2 passkeys: ^1.3.2 copied to clipboard
Flutter plugin enabling simple passkey authentication. Can be either used with a ready-to-use relying party server (Corbado) or with your custom relying party.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add passkeys
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
passkeys: ^1.3.2
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:passkeys/authenticator/exceptions.dart';
import 'package:passkeys/authenticator/passkey_authenticator.dart';
import 'package:passkeys/authenticator/types.dart';
import 'package:passkeys/passkey_auth.dart';
import 'package:passkeys/relying_party_server/corbado/corbado_passkey_backend.dart';
import 'package:passkeys/relying_party_server/corbado/types/authentication.dart';
import 'package:passkeys/relying_party_server/corbado/types/authentication.g.dart';
import 'package:passkeys/relying_party_server/corbado/types/exceptions.dart';
import 'package:passkeys/relying_party_server/corbado/types/exceptions.g.dart';
import 'package:passkeys/relying_party_server/corbado/types/field.dart';
import 'package:passkeys/relying_party_server/corbado/types/registration.dart';
import 'package:passkeys/relying_party_server/corbado/types/registration.g.dart';
import 'package:passkeys/relying_party_server/corbado/types/shared.dart';
import 'package:passkeys/relying_party_server/relying_party_server.dart';
import 'package:passkeys/relying_party_server/types/authentication.dart';
import 'package:passkeys/relying_party_server/types/registration.dart';
import 'package:passkeys/sign_in_handler.dart';