Auth prototype.