iTalent Digital interview question

How do you handle api in authentication?