summaryrefslogtreecommitdiff
path: root/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php')
-rw-r--r--vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php b/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php
new file mode 100644
index 00000000..d8de2b00
--- /dev/null
+++ b/vendor/lusitanian/oauth/tests/Mocks/OAuth2/Service/Fake.php
@@ -0,0 +1,32 @@
+<?php
+
+namespace OAuthTest\Mocks\OAuth2\Service;
+
+use OAuth\OAuth2\Service\AbstractService;
+
+class Fake extends AbstractService
+{
+ const SCOPE_FOO = 'https://www.pieterhordijk.com/auth';
+ const SCOPE_CUSTOM = 'custom';
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getAuthorizationEndpoint()
+ {
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getAccessTokenEndpoint()
+ {
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function parseAccessTokenResponse($responseBody)
+ {
+ }
+}