Edquity interview question

How would you implement auth.