Storage a data

Hi I am developing a tts Integration. I send request to server to get token. However, this token has a certain expiry date. Instead of sending a request every time, I want to store it in memory and check it. When the time is up, I will again to send a request. How can I store this value in home assistant?