AuthenticatorSelectionCriteria constructor

AuthenticatorSelectionCriteria({
  1. String? authenticatorAttachment,
  2. String? residentKey,
  3. bool? requireResidentKey,
  4. String? userVerification,
})

Implementation

factory AuthenticatorSelectionCriteria(
        {String? authenticatorAttachment,
        String? residentKey,
        bool? requireResidentKey,
        String? userVerification}) =>
    AuthenticatorSelectionCriteria._(
        authenticatorAttachment: authenticatorAttachment ?? undefined,
        residentKey: residentKey ?? undefined,
        requireResidentKey: requireResidentKey ?? false,
        userVerification: userVerification ?? 'preferred');