Tools icon indicating copy to clipboard operation
Tools copied to clipboard

Add API for synchronous token validation

Open ByronBecker opened this issue 1 year ago • 0 comments

I'm currently storing the generated RTC token in local storage, and would like to be able to verify that the generated token is valid/expired without making an API call to the server.

This way, if the token is invalid I can save a round trip (not needing to receive a 403 before refreshing the token).

Ideally this API would live in the agora-token repository 🙏

ByronBecker avatar Nov 08 '23 00:11 ByronBecker