Zend_Oauth-Introduction.xml 2.6 KB

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