Zend_Oauth-Introduction.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.oauth.introduction" xmlns:xi="http://www.w3.org/2001/XInclude">
  4. <title>Introduction to OAuth</title>
  5. <para>
  6. OAuth allows you to approve access by any application to your private data stored a website
  7. without being forced to disclose your username or password. If you think about it, the
  8. practice of handing over your username and password for sites like Yahoo Mail or Twitter has
  9. been endemic for quite a while. This has raised some serious concerns because there's
  10. nothing to prevent other applications from misusing this data. Yes, some services may
  11. appear trustworthy but that is never guaranteed. OAuth resolves this problem by eliminating
  12. the need for any username and password sharing, replacing it with a user controlled
  13. authorization process.
  14. </para>
  15. <para>
  16. This authorization process is token based. If you authorize an application (and by
  17. application we can include any web based or desktop application) to access your data, it
  18. will be in receipt of an Access Token associated with your account. Using this Access Token,
  19. the application can access your private data without continually requiring your credentials.
  20. In all this authorization delegation style of protocol is simply a more secure solution to
  21. the problem of accessing private data via any web service <acronym>API</acronym>.
  22. </para>
  23. <para>
  24. OAuth is not a completely new idea, rather it is a standardized protocol building on the
  25. existing properties of protocols such as Google AuthSub, Yahoo BBAuth, Flickr
  26. <acronym>API</acronym>, etc. These all to some extent operate on the basis of exchanging
  27. user credentials for an Access Token of some description. The power of a standardized
  28. specification like OAuth is that it only requires a single implementation as opposed to many
  29. disparate ones depending on the web service. This standardization has not occurred
  30. independently of the major players, and indeed many now support OAuth as an alternative and
  31. future replacement for their own solutions.
  32. </para>
  33. <para>
  34. Zend Framework's <classname>Zend_Oauth</classname> currently implements a full OAuth
  35. Consumer conforming to the OAuth Core 1.0 Revision A Specification (24 June 2009) via the
  36. <classname>Zend_Oauth_Consumer</classname> class.
  37. </para>
  38. <xi:include href="Zend_Oauth-ProtocolWorkflow.xml" />
  39. <xi:include href="Zend_Oauth-SecurityArchitecture.xml" />
  40. <xi:include href="Zend_Oauth-GettingStarted.xml" />
  41. </sect1>