PublicKeyCredentialRequestOptionsJSON constructor
PublicKeyCredentialRequestOptionsJSON({
- required String challenge,
- int? timeout,
- String? rpId,
- Iterable<
PublicKeyCredentialDescriptorJSON> ? allowCredentials, - String? userVerification,
- AuthenticationExtensionsClientInputsJSON? extensions,
Implementation
factory PublicKeyCredentialRequestOptionsJSON(
{required String challenge,
int? timeout,
String? rpId,
Iterable<PublicKeyCredentialDescriptorJSON>? allowCredentials,
String? userVerification,
AuthenticationExtensionsClientInputsJSON? extensions}) =>
PublicKeyCredentialRequestOptionsJSON._(
challenge: challenge,
timeout: timeout ?? undefined,
rpId: rpId ?? undefined,
allowCredentials: allowCredentials ?? const [],
userVerification: userVerification ?? 'preferred',
extensions: extensions ?? undefined);