This book is a discussion of the OAuth 2.0 standard. The first part of the book explores how one can create an OAuth2 authenticated Application Program Interface (API). This will be helpful for developers of Rails apps. You will be guided on how to authorize the client to access the resources hosted on the server. All the necessary configurations that are necessary are discussed in a step-by-step manner. The client credentials authorization code is also examined. You will be shown how to start the command line script. The client credentials grant type is covered, along with access tokens in APId. The process of using the client credentials to get the access tokens is explored, as well as the process of saving the access tokens both in session and in a database. The advantages and disadvantages of using either of these mechanisms is discussed, soyou will be in a position to choose the best one for your app. You will also learn how to use the standard with Facebook. The following topics are discussed in this book: Creating an Oauth2 authenticated API Client Credentials Authorization Code Grant Types Saving Token User Login with OAuth OAuth with Facebook
Download your copy of "OAuth 2.0" by scrolling up and clicking "Buy Now With 1-Click" button.