Step 3 – Use your access token
Once you have your access token, the hard part is done. You are now ready to start making API calls! The APIs themselves will differ depending on the service, but the ways you pass your access token will remain the same. Just as there are various ways to obtain an access token (authorization code grant, implicit grant, and so on), there are multiple ways to pass your access token with an API call. They are via:
- Authorization request header field
- Form-encoded body parameter
- URI query parameter
The details of these different methods aren't important at this point. We will discuss them in more detail in Chapter 7, Use Your ...
Get Mastering OAuth 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.