MindBeacon interview question

How to save authorization token in front end?