From page 182:
...Moreover, the law enjoins, that after the man and wife have lain together in a regular way, they shall bathe themselves.… Now the greatest part of offences with us are capital; as if anyone be guilty of adultery; if anyone force a virgin; if anyone be so impudent as to attempt sodomy with a male; or if, upon another’s making an attempt upon him, he submits to be so used. There is also a law for slaves of the like nature that can never be avoided. (Against Apion 2:199–201, 203, 215)347
S. Donald Fortson and Rollin G. Grams, Unchanging Witness: The Consistent Christian Teaching on Homosexuality in Scripture and Tradition (Nashville, TN: B&H Academic, 2016), 182.
The hyperlinked references to Against Apion open to my OT Greek Pseudepigrapha by Penner and Heiser, not to Josephus.
The Logos mobile app version of this book won't open the links at all, and footnote 347 only says "Josephus's works are quoted from the translation by William J. Whiston (1828) in public domain, available on BibleWorks."