Programming Social Applications by LeBlanc Jonathan

Programming Social Applications by LeBlanc Jonathan

Author:LeBlanc, Jonathan [Jonathan LeBlanc]
Language: eng
Format: epub
Tags: COMPUTERS / Social Aspects / General
ISBN: 9781449315276
Publisher: O'Reilly Media
Published: 2011-08-15T16:00:00+00:00


oauth_authorization_expires_in

The lifetime of the oauth_session_handle in seconds

oauth_expires_in

The lifetime of the token in seconds

Once we’ve created an access token object out of the provider’s response, our application can start making signed requests to the provider to leverage the user’s privileged information.

The End-User Experience

When OAuth is being used within an application, the experience for the end user who’s interacting with the application is far less intrusive and complicated than the process that the developer has to go through to implement it.

Implementations of the permission screen, where users accept that the application will perform actions on their behalf, can vary widely depending on the platform on which it is implemented, but the basic principle is the same. The platform displays a page containing basic information about the application and providing a means by which users can permit or deny that application to use their personal data.

Let’s explore what this screen looks like on some of the platforms that currently use OAuth. Twitter’s implementation is as simple as it gets: it presents information about the application requesting access to the user’s profile and provides a simple allow or deny option, as shown in Figure 9-5.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.