Device authentication

Hello. I need authenticate a device without an user. For an example by GooglePlay. Could you point me to a solution?