Home > Article > Backend Development > When writing the app interface in PHP, the token is given to the app client at that step.
When using PHP to write an app interface, what are the pros and cons of each step when the token is given to the app client? For example, obtaining the token before requesting any interface
The other is to give the token after the user initiates a login request and log in
What are the pros and cons of each? Pros and cons, the most common methods
The other is to give the token after the user initiates a login request and log in
What are the pros and cons of each? Pros and cons, the most common methods
The essence of login is to obtain a token
token
, and the get_access_token
interface is the login operation.Except the
get_access_token
interface, all interfaces should pass the access_token
when calling