PublicKeyCredentialRequestOptions constructor

PublicKeyCredentialRequestOptions({
  1. List<PublicKeyCredentialDescriptor>? allowCredentials,
  2. Object? challenge,
  3. AuthenticationExtensionsClientInputs? extensions,
  4. String? rpId,
  5. num? timeout,
  6. UserVerificationRequirement? userVerification,
})

Implementation

factory PublicKeyCredentialRequestOptions({
  _i2.List<_i3.PublicKeyCredentialDescriptor>? allowCredentials,
  _i2.Object? challenge,
  _i3.AuthenticationExtensionsClientInputs? extensions,
  _i2.String? rpId,
  _i2.num? timeout,
  _i3.UserVerificationRequirement? userVerification,
}) =>
    PublicKeyCredentialRequestOptions._(
      allowCredentials: allowCredentials,
      challenge: challenge ?? _i6.undefined,
      extensions: extensions ?? _i6.undefined,
      rpId: rpId,
      timeout: timeout,
      userVerification: userVerification?.name ?? _i6.undefined,
    );