O'Reilly logo

Integrating Web Services with OAuth and PHP by Matthew Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OAuth 2 Implementation

After reading the chapters associated with OAuth 2.0 and you may find yourself asking what it all means. This chapter will cover how to use a number of common OAuth 2.0 APIs. Adding this practical experience to your tool belt will allow you to integrate any number of OAuth 2.0 driven services into your application or code.

Before we really dive into this, there are a couple expectations to set about the examples provided in this chapter. For starters, I’m only going to provide one script for the retrieval of access tokens, unless it makes sense to highlight a different approach. All of the API specific examples are going to assume you have retrieved the access token from the service. For these examples I’ll be using Guzzle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required