Home  >  Article  >  What does token expiration mean?

What does token expiration mean?

(*-*)浩
(*-*)浩Original
2020-01-08 09:08:3465763browse

What does token expiration mean?

means the certificate has expired. (Recommended Learning: PHPSTORM )

need to re -get CODE, and then get access_token, that is, to recharge the authorization interface, you need to use Refreshtoken to refresh the access .

If you get new accesstoken, refreshtoken, expirein by refreshing, you need to use these new ones to replace the data in the related table. It is recommended to use refreshtoken every time you log in.

Token represents identity token in the Internet industry. It is a certificate distributed by the system on behalf of the user after logging in. This certificate has a validity period. If the validity period expires, the token will become invalid. To solve this problem, if it is a mobile phone, log out and log in again. Once is enough.

Accesstoken is valid for one month, and refreshtoken is valid for two months. The so-called long-term validity is: use refreshtoken to continuously refresh to get new ones. In other cases, Accesstoken and refreshtoken, unless the user has not visited for two months. After passing the app, the refreshtoken will also become invalid. At this time, the user needs to log in again.

Token represents identity token in the Internet industry.

is a certificate distributed by the system on behalf of the user after logging in. This certificate is valid. If the validity expires, the token will become invalid. To solve this problem, if For the mobile phone, just log out and log in again.

Certificate refers to a certificate that proves (or helps determine) the truth.

The biggest function of a certificate is to prove it. However, due to the increase in the level of forgery, more than 90% of certificates are in urgent need of certification. A technical platform is needed to improve its anti-counterfeiting capabilities, and that is the "Certificate Online Query" one Common platform. It is best to be free while also protecting personal privacy.

The above is the detailed content of What does token expiration mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn