PublicKeyCredentialRequestOptions constructor
PublicKeyCredentialRequestOptions({
- dynamic challenge,
- int? timeout,
- String? rpId,
- Iterable<
PublicKeyCredentialDescriptor> ? allowCredentials, - String? userVerification,
- AuthenticationExtensionsClientInputs? extensions,
Implementation
factory PublicKeyCredentialRequestOptions(
{dynamic challenge,
int? timeout,
String? rpId,
Iterable<PublicKeyCredentialDescriptor>? allowCredentials,
String? userVerification,
AuthenticationExtensionsClientInputs? extensions}) =>
PublicKeyCredentialRequestOptions._(
challenge: challenge ?? undefined,
timeout: timeout ?? undefined,
rpId: rpId ?? undefined,
allowCredentials: allowCredentials ?? const [],
userVerification: userVerification ?? 'preferred',
extensions: extensions ?? undefined);