From 420d0ca4dd6cf075204867de28c2e6d5b1b68184 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 6 Nov 2014 06:57:39 -0500 Subject: Remove vendor again --- .../oauth/tests/Mocks/OAuth2/Service/Fake.php | 32 ------------ .../oauth/tests/Mocks/OAuth2/Service/Mock.php | 58 ---------------------- 2 files changed, 90 deletions(-) delete mode 100644 vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php delete mode 100644 vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Mock.php (limited to 'vendor/lusitanian/oauth/tests/Mocks/OAuth2') diff --git a/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php b/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php deleted file mode 100644 index d8de2b00..00000000 --- a/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php +++ /dev/null @@ -1,32 +0,0 @@ -authorizationMethod = $method; - } - - /** - * Returns a class constant from ServiceInterface defining the authorization method used for the API - * Header is the sane default. - * - * @return int - */ - protected function getAuthorizationMethod() - { - switch($this->authorizationMethod) { - case 'querystring': - return static::AUTHORIZATION_METHOD_QUERY_STRING; - - case 'querystring2': - return static::AUTHORIZATION_METHOD_QUERY_STRING_V2; - - case 'bearer': - return static::AUTHORIZATION_METHOD_HEADER_BEARER; - } - - return parent::getAuthorizationMethod(); - } -} -- cgit v1.2.3