Get token of customer login

I have created an extension and now I want when each customer logs in I will receive that person’s token; So what should I do; Thank you for reading this message

Can you let me know once you’ve solved this