It depends. The Backstreet Boys haven’t written all their songs, but they have written or co-written many of them. For the songs they didn’t write, songwriters are mentioned in each song’s’ credits.