AdapterInterface.php 547 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. *
  4. * Cube Framework $Id$ mo/7oMrc3y63RMhmKUWZCtZ02Sm9Zi2ybMChMip1thQ=
  5. *
  6. * @link http://codecu.be/framework
  7. * @copyright Copyright (c) 2014 CodeCube SRL
  8. * @license http://codecu.be/framework/license Commercial License
  9. *
  10. * @version 1.0
  11. */
  12. /**
  13. * authentication adapter interface
  14. */
  15. namespace Cube\Authentication\Adapter;
  16. interface AdapterInterface
  17. {
  18. /**
  19. *
  20. * perform an authentication attempt
  21. *
  22. * @return \Cube\Authentication\Result
  23. */
  24. public function authenticate();
  25. }