PublicKeyCredentialCreationOptions constructor

PublicKeyCredentialCreationOptions({
  1. AttestationConveyancePreference? attestation,
  2. AuthenticatorSelectionCriteria? authenticatorSelection,
  3. Object? challenge,
  4. List<PublicKeyCredentialDescriptor>? excludeCredentials,
  5. AuthenticationExtensionsClientInputs? extensions,
  6. List<PublicKeyCredentialParameters>? pubKeyCredParams,
  7. PublicKeyCredentialRpEntity? rp,
  8. num? timeout,
  9. PublicKeyCredentialUserEntity? user,
})

Implementation

factory PublicKeyCredentialCreationOptions({
  _i3.AttestationConveyancePreference? attestation,
  _i3.AuthenticatorSelectionCriteria? authenticatorSelection,
  _i2.Object? challenge,
  _i2.List<_i3.PublicKeyCredentialDescriptor>? excludeCredentials,
  _i3.AuthenticationExtensionsClientInputs? extensions,
  _i2.List<_i3.PublicKeyCredentialParameters>? pubKeyCredParams,
  _i3.PublicKeyCredentialRpEntity? rp,
  _i2.num? timeout,
  _i3.PublicKeyCredentialUserEntity? user,
}) =>
    PublicKeyCredentialCreationOptions._(
      attestation: attestation?.name ?? _i6.undefined,
      authenticatorSelection: authenticatorSelection ?? _i6.undefined,
      challenge: challenge ?? _i6.undefined,
      excludeCredentials: excludeCredentials,
      extensions: extensions ?? _i6.undefined,
      pubKeyCredParams: pubKeyCredParams,
      rp: rp ?? _i6.undefined,
      timeout: timeout,
      user: user ?? _i6.undefined,
    );