register method
Future<RegisterResponseType>
register(
- String challenge,
- RelyingPartyType relyingParty,
- UserType user,
- AuthenticatorSelectionType authenticatorSelection,
- List<
PubKeyCredParamType> ? pubKeyCredParams, - int? timeout,
- 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();