diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:57:39 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:57:39 -0500 |
commit | 420d0ca4dd6cf075204867de28c2e6d5b1b68184 (patch) | |
tree | e7723f4b0687d82300ca5b4d38e3ab0ff3fc13cf /vendor/lusitanian/oauth/tests/Mocks/OAuth1 | |
parent | cfe1e13d4a2b964c950b5e3daa8cafab207f1158 (diff) |
Remove vendor again
Diffstat (limited to 'vendor/lusitanian/oauth/tests/Mocks/OAuth1')
-rw-r--r-- | vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Fake.php | 57 | ||||
-rw-r--r-- | vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Mock.php | 35 |
2 files changed, 0 insertions, 92 deletions
diff --git a/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Fake.php b/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Fake.php deleted file mode 100644 index 5dac52e7..00000000 --- a/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Fake.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php - -namespace OAuthTest\Mocks\OAuth1\Service; - -use OAuth\OAuth1\Service\AbstractService; -use OAuth\Common\Consumer\CredentialsInterface; -use OAuth\Common\Http\Client\ClientInterface; -use OAuth\Common\Storage\TokenStorageInterface; -use OAuth\OAuth1\Signature\SignatureInterface; -use OAuth\Common\Http\Uri\UriInterface; - -class Fake extends AbstractService -{ - public function __construct( - CredentialsInterface $credentials, - ClientInterface $httpClient, - TokenStorageInterface $storage, - SignatureInterface $signature, - UriInterface $baseApiUri = null - ) { - } - - /** - * {@inheritdoc} - */ - public function getRequestTokenEndpoint() - { - } - - /** - * {@inheritdoc} - */ - public function getAuthorizationEndpoint() - { - } - - /** - * {@inheritdoc} - */ - public function getAccessTokenEndpoint() - { - } - - /** - * {@inheritdoc} - */ - protected function parseRequestTokenResponse($responseBody) - { - } - - /** - * {@inheritdoc} - */ - protected function parseAccessTokenResponse($responseBody) - { - } -} diff --git a/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Mock.php b/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Mock.php deleted file mode 100644 index 9f0bf27f..00000000 --- a/vendor/lusitanian/oauth/tests/Mocks/OAuth1/Service/Mock.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -namespace OAuthTest\Mocks\OAuth1\Service; - -use OAuth\OAuth1\Service\AbstractService; -use OAuth\Common\Http\Uri\Uri; -use OAuth\OAuth1\Token\StdOAuth1Token; - -class Mock extends AbstractService -{ - public function getRequestTokenEndpoint() - { - return new Uri('http://pieterhordijk.com/token'); - } - - public function getAuthorizationEndpoint() - { - return new Uri('http://pieterhordijk.com/auth'); - } - - public function getAccessTokenEndpoint() - { - return new Uri('http://pieterhordijk.com/access'); - } - - protected function parseRequestTokenResponse($responseBody) - { - return new StdOAuth1Token(); - } - - protected function parseAccessTokenResponse($responseBody) - { - return new StdOAuth1Token(); - } -} |