appkey_webauthn_flutter 1.0.0
appkey_webauthn_flutter: ^1.0.0 copied to clipboard
Ready to simplify authentication and secure your app? AppKey is the cloud-based solution that makes implementing FIDO2 Passkeys a breeze. With support for platforms like Swift (iOS), Kotlin (Android), [...]
example/appkey_webauthn_flutter_example.dart
import 'package:appkey_webauthn_flutter/appkey_webauthn_flutter.dart';
void main() async{
AppkeyWebAuthn appkeyWebAuthn = AppkeyWebAuthn(
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJlN2Y2OWU3ZS01NWJiLTQzY2EtYTE4ZC02ODFkNGI0ZDI1MzciLCJhcHBJZCI6IjA2YTk3NmE4ZDExYjRkOTM5MjY4MTA0NzdmNWYyZDJlIiwic2NvcGUiOiJhcHAiLCJpYXQiOjE3MzMxNTA2OTd9.Dl2pEnxpcaLK8l_wor-XQBwb50TlC2MRCRyQVM3hAVn34wLxxdZOms-5xeVtIN7EIv_mP3BHN9vpTHu679HcsBZ5jWQNbfztzZX5h-FM0IanWHFPp6vihBoyWsRcWOwNHoPdgqNjeihkGfRWjXvpKQXRZv2qErpv4Lb2ferOu1rDkO4P_ghAmgflW2y9jm_UaXmd5Mt05WuVO3pFUyRjjdAgV23yTYYMSLeM3aZ4owOroZmAspNSFG7QWiotPK4itvb2qei1HASo9H5WYWjX3Ul09Sz5DROiPS-6wlWcIwLaYzCOa96O76O_qdFig0Qu9C-Xohn6ald1dCpSj97sPKlghOu-_k_5pvVRttQhpP0P1KbTPA-FMTQwRIhFmejAZQLrrKN2GAfCPgR3jn5zD8aAggCnSUVv2B_c1E-hdAuCuHJR2Q5btSjwnagZ4rVyzG8wy5bK9MkUslsnne8tcHkZQk8cOY3od5rVW2XZeH88h0R6kzm8snWqoqOCoFIV",
"https://api.appkey.io");
final app = await appkeyWebAuthn.getApp();
print("app: $app.name ");
}