summaryrefslogtreecommitdiff
path: root/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/lusitanian/oauth/src/OAuth/OAuth1/Token')
-rw-r--r--vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/StdOAuth1Token.php75
-rw-r--r--vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/TokenInterface.php41
2 files changed, 0 insertions, 116 deletions
diff --git a/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/StdOAuth1Token.php b/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/StdOAuth1Token.php
deleted file mode 100644
index a12a7971..00000000
--- a/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/StdOAuth1Token.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php
-
-namespace OAuth\OAuth1\Token;
-
-use OAuth\Common\Token\AbstractToken;
-
-/**
- * Standard OAuth1 token implementation.
- * Implements OAuth\OAuth1\Token\TokenInterface in case of any OAuth1 specific features.
- */
-class StdOAuth1Token extends AbstractToken implements TokenInterface
-{
- /**
- * @var string
- */
- protected $requestToken;
-
- /**
- * @var string
- */
- protected $requestTokenSecret;
-
- /**
- * @var string
- */
- protected $accessTokenSecret;
-
- /**
- * @param string $requestToken
- */
- public function setRequestToken($requestToken)
- {
- $this->requestToken = $requestToken;
- }
-
- /**
- * @return string
- */
- public function getRequestToken()
- {
- return $this->requestToken;
- }
-
- /**
- * @param string $requestTokenSecret
- */
- public function setRequestTokenSecret($requestTokenSecret)
- {
- $this->requestTokenSecret = $requestTokenSecret;
- }
-
- /**
- * @return string
- */
- public function getRequestTokenSecret()
- {
- return $this->requestTokenSecret;
- }
-
- /**
- * @param string $accessTokenSecret
- */
- public function setAccessTokenSecret($accessTokenSecret)
- {
- $this->accessTokenSecret = $accessTokenSecret;
- }
-
- /**
- * @return string
- */
- public function getAccessTokenSecret()
- {
- return $this->accessTokenSecret;
- }
-}
diff --git a/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/TokenInterface.php b/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/TokenInterface.php
deleted file mode 100644
index 0bc3f739..00000000
--- a/vendor/lusitanian/oauth/src/OAuth/OAuth1/Token/TokenInterface.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace OAuth\OAuth1\Token;
-
-use OAuth\Common\Token\TokenInterface as BaseTokenInterface;
-
-/**
- * OAuth1 specific token interface
- */
-interface TokenInterface extends BaseTokenInterface
-{
- /**
- * @return string
- */
- public function getAccessTokenSecret();
-
- /**
- * @param string $accessTokenSecret
- */
- public function setAccessTokenSecret($accessTokenSecret);
-
- /**
- * @return string
- */
- public function getRequestTokenSecret();
-
- /**
- * @param string $requestTokenSecret
- */
- public function setRequestTokenSecret($requestTokenSecret);
-
- /**
- * @return string
- */
- public function getRequestToken();
-
- /**
- * @param string $requestToken
- */
- public function setRequestToken($requestToken);
-}