summaryrefslogtreecommitdiff
path: root/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-06 06:57:39 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-06 06:57:39 -0500
commit420d0ca4dd6cf075204867de28c2e6d5b1b68184 (patch)
treee7723f4b0687d82300ca5b4d38e3ab0ff3fc13cf /vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php
parentcfe1e13d4a2b964c950b5e3daa8cafab207f1158 (diff)
Remove vendor again
Diffstat (limited to 'vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php')
-rw-r--r--vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php b/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php
deleted file mode 100644
index f3d1bdad..00000000
--- a/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/ServiceInterface.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-namespace OAuth\OAuth2\Service;
-
-use OAuth\Common\Consumer\CredentialsInterface;
-use OAuth\Common\Storage\TokenStorageInterface;
-use OAuth\Common\Token\TokenInterface;
-use OAuth\Common\Http\Client\ClientInterface;
-use OAuth\Common\Http\Exception\TokenResponseException;
-use OAuth\Common\Service\ServiceInterface as BaseServiceInterface;
-use OAuth\Common\Http\Uri\UriInterface;
-
-/**
- * Defines the common methods across OAuth 2 services.
- */
-interface ServiceInterface extends BaseServiceInterface
-{
- /**
- * Authorization methods for various services
- */
- const AUTHORIZATION_METHOD_HEADER_OAUTH = 0;
- const AUTHORIZATION_METHOD_HEADER_BEARER = 1;
- const AUTHORIZATION_METHOD_QUERY_STRING = 2;
- const AUTHORIZATION_METHOD_QUERY_STRING_V2 = 3;
- const AUTHORIZATION_METHOD_QUERY_STRING_V3 = 4;
-
- /**
- * Retrieves and stores/returns the OAuth2 access token after a successful authorization.
- *
- * @param string $code The access code from the callback.
- *
- * @return TokenInterface $token
- *
- * @throws TokenResponseException
- */
- public function requestAccessToken($code);
-}