Home > Back-end >  According to the assigned a unique id for the request interface requires identity check, a valid tok
According to the assigned a unique id for the request interface requires identity check, a valid tok

Time:09-20

System interface for the request to identity, a valid token information carried in a request parameters to a successful call interface;

Access system, the enterprise will assign a unique appid, appid is the only identity token as application;

The token is valid for 30 days, token application available by calling the interface failure before the new token;


Small sprout new o bosses help

CodePudding user response:

Which do not understand, this is an open API, the official did not provide the sample?

CodePudding user response:

Find a symmetric encryption algorithm, such as AES, service USES a random password write dead inside the code, or each time you start the server generates a static variable,
The enterprise user name or id, or other content, together with the current date after the encryption as appid sent in the past,
Appid hair back, can decrypt the user name and the date,

Of course, also can put the date, the number of user name and a long memory database, each database, but not the effect of single sign-on,

CodePudding user response:

The
reference 1/f, street vendors reply:
which do not understand, this is an open API, the official did not provide the sample?

No, this is a platform interface, tooling gave me a appid is a unique identifier, give me a token, now is not to get the token

CodePudding user response:

This point in detail describes the asked, "who can help you solve,

CodePudding user response:

reference weixin_46210577 reply: 3/f
Quote: refer to 1st floor street vendor reply:
which do not understand, this is an open API, the official did not provide the sample?

No, this is a platform interface, tooling gave me a appid is a unique identifier, give me a token, that token, now is to get less than

There is no documentation? The cause of the is you of wrong or API providers to distinguish the first

CodePudding user response:

reference 5 floor street vendor reply:
Quote: refer to the third floor weixin_46210577 response:

Quote: refer to 1st floor street vendor reply:
which do not understand, this is an open API, the official did not provide the sample?

No, this is a platform interface, tooling gave me a appid is a unique identifier, give me a token, that token, now is to get less than

There is no documentation? Is the reason why you of wrong or API providers to distinguish between the first

Well well, has been solved
  • Related