Nagarro interview question

Web API Authentication implementation, Design Pattern