/classes/oauth2/signature/md5.php

https://github.com/JanHelleman/OAuth-2.0 · PHP · 27 lines · 10 code · 4 blank · 13 comment · 0 complexity · bea9687f68c757b9e6fab51fd934c027 MD5 · raw file

  1. <?php defined('SYSPATH') or die('No direct script access.');
  2. /**
  3. * Oauth signature for MD5
  4. *
  5. * @author sumh <oalite@gmail.com>
  6. * @package Oauth
  7. * @copyright (c) 2010 OALite
  8. * @license ISC License (ISCL)
  9. * @link http://www.oalite.cn
  10. * @see Oauth_Signature
  11. * *
  12. */
  13. class Oauth2_Signature_Md5 extends Oauth2_Signature {
  14. public static $algorithm = 'MD5';
  15. public function build(Oauth2_Token $token)
  16. {
  17. // TODO
  18. }
  19. public function check(Oauth2_Token $token, $signature)
  20. {
  21. // TODO
  22. }
  23. } // END Oauth_Signature_Md5