PublicKeyCredentialCreationOptions constructor
PublicKeyCredentialCreationOptions({
- required PublicKeyCredentialRpEntity rp,
- required PublicKeyCredentialUserEntity user,
- dynamic challenge,
- required Iterable<
PublicKeyCredentialParameters> pubKeyCredParams, - int? timeout,
- Iterable<
PublicKeyCredentialDescriptor> ? excludeCredentials, - AuthenticatorSelectionCriteria? authenticatorSelection,
- String? attestation,
- AuthenticationExtensionsClientInputs? extensions,
Implementation
factory PublicKeyCredentialCreationOptions(
{required PublicKeyCredentialRpEntity rp,
required PublicKeyCredentialUserEntity user,
dynamic challenge,
required Iterable<PublicKeyCredentialParameters> pubKeyCredParams,
int? timeout,
Iterable<PublicKeyCredentialDescriptor>? excludeCredentials,
AuthenticatorSelectionCriteria? authenticatorSelection,
String? attestation,
AuthenticationExtensionsClientInputs? extensions}) =>
PublicKeyCredentialCreationOptions._(
rp: rp,
user: user,
challenge: challenge ?? undefined,
pubKeyCredParams: pubKeyCredParams,
timeout: timeout ?? undefined,
excludeCredentials: excludeCredentials ?? const [],
authenticatorSelection: authenticatorSelection ?? undefined,
attestation: attestation ?? 'none',
extensions: extensions ?? undefined);