You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This api client is calling getToken() on every server call which will result in violation of usage terms as per authorization scheme https://docs.hyphenate.io/docs/server-overview#section-token-expiration when used in a repeat call over a period of time ( 7 days for example ) or within a loop.
Please update the code to use a storage package or similar to store the access_token in storage till it expires, A storage package can be an abstraction layer for SESSION, COOKIE, FILE, DATABASE or a CACHE like memcached, redis etc
The text was updated successfully, but these errors were encountered:
This api client is calling getToken() on every server call which will result in violation of usage terms as per authorization scheme https://docs.hyphenate.io/docs/server-overview#section-token-expiration when used in a repeat call over a period of time ( 7 days for example ) or within a loop.
Please update the code to use a storage package or similar to store the access_token in storage till it expires, A storage package can be an abstraction layer for SESSION, COOKIE, FILE, DATABASE or a CACHE like memcached, redis etc
The text was updated successfully, but these errors were encountered: