Mock_OAuthBaseStringRequest.php 406 B

123456789101112
  1. <?php
  2. /**
  3. * A very simple class that you can pass a base-string, and then have it returned again.
  4. * Used for testing the signature-methods
  5. */
  6. class Mock_OAuthBaseStringRequest {
  7. private $provided_base_string;
  8. public $base_string; // legacy
  9. public function __construct($bs) { $this->provided_base_string = $bs; }
  10. public function get_signature_base_string() { return $this->provided_base_string; }
  11. }