Home > other >  Consult a ring letter of questions about the Rest: token is valid need us to judge yourself? How lon
Consult a ring letter of questions about the Rest: token is valid need us to judge yourself? How lon

Time:09-22

Such as: consult a ring letter of questions about the Rest: token is valid need us to judge yourself? How long is the validity of the Token?

CodePudding user response:

Access token, the server will return the token string and validity (expires_in) together to you, the token is valid for 7 days by default, you can access to the token server do yourself again after a cache, get back after expiring, can verify the validity with the current timestamp minus the access to the token of the timestamp compared with token is valid (the answer from imgeek),

CodePudding user response:

Answer very professional oh, well!

CodePudding user response:

After you get token, the server will return the token string together with the period of validity, the default is valid for 7 days.

CodePudding user response:

Questions about the ring letter, to the imgeek.org community questions, have full-time engineers reply

CodePudding user response:

Server to determine the effectiveness of the token such a judgment?

CodePudding user response:

reference 1st floor zhutuma response:
access token, the server will return the token string and validity (expires_in) together to you, the token is valid for 7 days by default, you can access to the token server do yourself again after a cache, get back after expiring, can verify the validity with the current timestamp minus the access to the token of the timestamp compared with token is valid (the answer from imgeek),

Also is to save the token string, the period of validity, access to the token three fields of time?

CodePudding user response:

Submit the same question, the period of validity, access to the token of the time three fields

CodePudding user response:

Thanks for sharing knowledge of cloud computing,
  • Related