iAuthenticate.php 616 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Luracast\Restler;
  3. /**
  4. * Interface for creating authentication classes
  5. *
  6. * @category Framework
  7. * @package Restler
  8. * @subpackage auth
  9. * @author R.Arul Kumaran <arul@luracast.com>
  10. * @copyright 2010 Luracast
  11. * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
  12. * @link http://luracast.com/products/restler/
  13. *
  14. */
  15. interface iAuthenticate extends iFilter
  16. {
  17. /**
  18. * @return string string to be used with WWW-Authenticate header
  19. * @example Basic
  20. * @example Digest
  21. * @example OAuth
  22. */
  23. public function __getWWWAuthenticateString();
  24. }