OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Storing/caching API token in Python

  • Thread starter Thread starter user14728492
  • Start date Start date
U

user14728492

Guest
I am working with a third-party web-API which uses token-based authentication. The access token expires every 2 hours (TTL).

Is there any way to cache this and update when the token expires?
<p>I am working with a third-party web-API which uses token-based authentication.
The <a href="https://en.wikipedia.org/wiki/Access_token" rel="nofollow noreferrer">access token</a> expires every 2 hours (TTL).</p>
<p>Is there any way to cache this and update when the token expires?</p>
 

Latest posts

Online statistics

Members online
1
Guests online
2
Total visitors
3
Top