When using PHP to write app interface, token in that step to the app client, each have what pros and cons
For example, before requesting any interface to obtain token
The other is when a user initiates a login request and then gives token
What are the pros and cons, the common ones are those ways
Reply content:
When using PHP to write app interface, token in that step to the app client, each have what pros and cons
For example, before requesting any interface to obtain token
The other is when a user initiates a login request and then gives token
What are the pros and cons, the common ones are those ways
At what stage?
The essence of login is to get a token token
, an get_access_token
interface, or a login operation.
In addition get_access_token
to the interface, all interfaces should be passed in when they are called. access_token
A login authorization is required to obtain a login token, and then access each interface after the login is successful requires token in the header or cookie