File: Mock_OAuthBaseStringRequest.php

package info (click to toggle)
liboauth-php 0~svn1262-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 224 kB
  • ctags: 522
  • sloc: php: 1,591; xml: 12; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
<?php

/**
 * A very simple class that you can pass a base-string, and then have it returned again.
 * Used for testing the signature-methods
 */
class Mock_OAuthBaseStringRequest {
	private $provided_base_string;
	public $base_string; // legacy
	public function __construct($bs) { $this->provided_base_string = $bs; }
	public function get_signature_base_string() { return $this->provided_base_string; }
}