When using PHP to write the app interface, token is in that step to the app client

Source: Internet
Author: User
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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.