iTalent Digital Interview Question

How do you handle api in authentication?