flutter_passkey 1.0.5 copy "flutter_passkey: ^1.0.5" to clipboard
flutter_passkey: ^1.0.5 copied to clipboard

Flutter plugin for using Passkey easily on iOS and Android platforms.

flutter_passkey #

A Flutter plugin for Passkey.

Android iOS MacOS Web Linux Windows
V V X X X X

Usage #

To use this plugin, add flutter_passkey as a dependency in your pubspec.yaml file.

Example #

final flutterPasskeyPlugin = FlutterPasskey();

final isPasskeySupported = await flutterPasskeyPlugin.isSupported();

// Obtain creationOptions from the server
final creationOptions = getCredentialCreationOptions();
flutterPasskeyPlugin.createCredential(creationOptions).then((response) {
    // Send response to the server
}).catchError((error) {
    // Handle error
});

// Obtain requestOptions from the server
final requestOptions = getCredentialRequestOptions();
flutterPasskeyPlugin.getCredential(requestOptions).then((response) {
    // Send response to the server
}).catchError((error) {
    // Handle error
});

See the example app for more complex examples.

Learn more #

7
likes
150
points
288
downloads

Documentation

API reference

Publisher

verified publisherauthentrend.com

Weekly Downloads

Flutter plugin for using Passkey easily on iOS and Android platforms.

Homepage

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_passkey

Packages that implement flutter_passkey