PublicKeyCredentialCreationOptions constructor
PublicKeyCredentialCreationOptions({
- AttestationConveyancePreference? attestation,
- AuthenticatorSelectionCriteria? authenticatorSelection,
- Object? challenge,
- List<
PublicKeyCredentialDescriptor> ? excludeCredentials, - AuthenticationExtensionsClientInputs? extensions,
- List<
PublicKeyCredentialParameters> ? pubKeyCredParams, - PublicKeyCredentialRpEntity? rp,
- num? timeout,
- 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,
);