OAuth - question about access token "Time to live"
I get AccessToken with OAuth.
My question is:
How long this AccessToken will be valid ?
Per sessions / number of usage / time limit ?
Regards,
mLipok
mLipok , AutoIt MVP
Best Answer
-
Hi,
you can get an Authorization Code from the server (login.teamviewer/oauth2/autorize). This code is valid for 10 minutes.
With this, you require an Access Token via POST (/api/c1/oauth2/token) and this is valid for 3600 seconds, but it can be renewed (refresh) or revocated. Section 2.8.2 in manual.
Regards.
Domenico Langone
7
Answers
-
Hi,
you can get an Authorization Code from the server (login.teamviewer/oauth2/autorize). This code is valid for 10 minutes.
With this, you require an Access Token via POST (/api/c1/oauth2/token) and this is valid for 3600 seconds, but it can be renewed (refresh) or revocated. Section 2.8.2 in manual.
Regards.
Domenico Langone
7