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 Server

Now that you’ve seen how the OAuth 1 process works, you may have decided you want to provide access to your content using OAuth 2. Or perhaps you already knew you wanted to use OAuth 2 and jumped straight to this chapter, that’s just fine. In this chapter, we’re going to look at the finer points of implementing an OAuth 2 server to serve your content. This section includes a bit on authorization, as well as authentication and the different types of grants you may want to support.

In the OAuth 1 Server chapter, you’ll remember we had to break down and reconstruct the signature in order to authenticate the user. The good news for OAuth 2.0 is that the signature goes away completely, getting the information needed to authenticate ...

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