ORI Introduction to RCR: Chapter 9. Authorship and Publication
All persons designated as authors should qualify for authorship, and all those who qualify should be listed. Each author should have participated sufficiently in the work to take public responsibility for appropriate portions of the content. One or more authors should take responsibility for the integrity of the work as a whole, from inception to published article.
Authorship credit should be based only on 1) substantial contributions to conception and design, or acquisition of data, or analysis and interpretation of data; 2) drafting the article or revising it critically for important intellectual content; and 3) final approval of the version to be published. Conditions 1, 2, and 3 must all be met. Acquisition of funding, the collection of data, or general supervision of the research group, by themselves, do not justify authorship.
Authors should provide a description of what each contributed, and editors should publish that information. All others who contributed to the work who are not authors should be named in the Acknowledgments, and what they did should be described. (Link)