register method

  1. @override
Future<RegisterResponseType> register(
  1. String challenge,
  2. RelyingPartyType relyingParty,
  3. UserType user,
  4. AuthenticatorSelectionType authenticatorSelection,
  5. List<PubKeyCredParamType>? pubKeyCredParams,
  6. int? timeout,
  7. String? attestation,
)
override

Handles the platform-specific steps for the registration flow (see https://webauthn.guide/#registration) Namely it creates a public/private key pair (only the public key will be returned)

Implementation

@override
Future<RegisterResponseType> register(
  String challenge,
  RelyingPartyType relyingParty,
  UserType user,
  AuthenticatorSelectionType authenticatorSelection,
  List<PubKeyCredParamType>? pubKeyCredParams,
  int? timeout,
  String? attestation,
) async =>
    throw UnimplementedError();