PublicKeyCredentialRequestOptions constructor

PublicKeyCredentialRequestOptions({
  1. dynamic challenge,
  2. int? timeout,
  3. String? rpId,
  4. Iterable<PublicKeyCredentialDescriptor>? allowCredentials,
  5. String? userVerification,
  6. 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);