PasswordField: {
    key: string;
    label: string;
    passwordPolicy?: PasswordPolicy;
    required?: boolean;
    type: "PASSWORD" | "PASSWORD_VERIFY";
    verify?: boolean;
}

Raw server field shape for password inputs. The server tags the type as PASSWORD_VERIFY whenever verify is set, but our collector taxonomy ignores that — we pick PasswordCollector vs ValidatedPasswordCollector based on whether passwordPolicy is present.

Type declaration

  • key: string
  • label: string
  • OptionalpasswordPolicy?: PasswordPolicy
  • Optionalrequired?: boolean
  • type: "PASSWORD" | "PASSWORD_VERIFY"
  • Optionalverify?: boolean