The criteria used by the early church didn't use apostle authorship for inclusion into the New Testament. The author of the Gospel of Mark was not a apostle. The author of the Gospel of Luke and the book of Acts was not a apostle. The author of Jude was not a apostle. Want me go on? LOL.
those writings were written during the apostles time, and the apostles used and authorised their use...they could confirm that what was written was a true account.
Thats why the early church kept catalogues of the apostle approved writings.
by the end of the first century, only the apostle John was alive...after he died, the cannon was officially closed because there were no longer any apostles alive who could substantiate what was being written. and everything written up to the end of the 1st century was all that was needed.
the gospels of judas and thomas were apparently written after the 2nd century and therefore no one with authority could substantiate what was written in them... but by examining them you can clearly see they do not promote biblical truths or truths already written about Jesus. They are full of contradictory events and ideas.