PublicKeyCredentialCreationOptions constructor

PublicKeyCredentialCreationOptions({
  1. required PublicKeyCredentialRpEntity rp,
  2. required PublicKeyCredentialUserEntity user,
  3. required BufferSource challenge,
  4. required JSArray<PublicKeyCredentialParameters> pubKeyCredParams,
  5. int timeout,
  6. JSArray<PublicKeyCredentialDescriptor> excludeCredentials,
  7. AuthenticatorSelectionCriteria authenticatorSelection,
  8. JSArray<JSString> hints,
  9. String attestation,
  10. JSArray<JSString> attestationFormats,
  11. AuthenticationExtensionsClientInputs extensions,
})

Implementation

external factory PublicKeyCredentialCreationOptions({
  required PublicKeyCredentialRpEntity rp,
  required PublicKeyCredentialUserEntity user,
  required BufferSource challenge,
  required JSArray<PublicKeyCredentialParameters> pubKeyCredParams,
  int timeout,
  JSArray<PublicKeyCredentialDescriptor> excludeCredentials,
  AuthenticatorSelectionCriteria authenticatorSelection,
  JSArray<JSString> hints,
  String attestation,
  JSArray<JSString> attestationFormats,
  AuthenticationExtensionsClientInputs extensions,
});