upgrade
This commit is contained in:
12
plugin/ims_lti/vendor/oauth1/tests/Mock_OAuthBaseStringRequest.php
vendored
Normal file
12
plugin/ims_lti/vendor/oauth1/tests/Mock_OAuthBaseStringRequest.php
vendored
Normal file
@@ -0,0 +1,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; }
|
||||
}
|
||||
Reference in New Issue
Block a user