summaryrefslogtreecommitdiff
path: root/vendor/OAuth/Common/Token/TokenInterface.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-04 21:33:05 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-04 21:33:05 -0500
commit135b921db75da5995eab7e36393ecd4d2b0bc66f (patch)
tree46efc60fcf1f9d5c57ab1fb9418c2acfbda0698a /vendor/OAuth/Common/Token/TokenInterface.php
parent850645dd6b22f5b495d1680e0b49540e0ebf9bd3 (diff)
Switch to composer
Diffstat (limited to 'vendor/OAuth/Common/Token/TokenInterface.php')
-rwxr-xr-xvendor/OAuth/Common/Token/TokenInterface.php64
1 files changed, 0 insertions, 64 deletions
diff --git a/vendor/OAuth/Common/Token/TokenInterface.php b/vendor/OAuth/Common/Token/TokenInterface.php
deleted file mode 100755
index 84a41092..00000000
--- a/vendor/OAuth/Common/Token/TokenInterface.php
+++ /dev/null
@@ -1,64 +0,0 @@
-<?php
-
-namespace OAuth\Common\Token;
-
-/**
- * Base token interface for any OAuth version.
- */
-interface TokenInterface
-{
- /**
- * Denotes an unknown end of life time.
- */
- const EOL_UNKNOWN = -9001;
-
- /**
- * Denotes a token which never expires, should only happen in OAuth1.
- */
- const EOL_NEVER_EXPIRES = -9002;
-
- /**
- * @return string
- */
- public function getAccessToken();
-
- /**
- * @return int
- */
- public function getEndOfLife();
-
- /**
- * @return array
- */
- public function getExtraParams();
-
- /**
- * @param string $accessToken
- */
- public function setAccessToken($accessToken);
-
- /**
- * @param int $endOfLife
- */
- public function setEndOfLife($endOfLife);
-
- /**
- * @param int $lifetime
- */
- public function setLifetime($lifetime);
-
- /**
- * @param array $extraParams
- */
- public function setExtraParams(array $extraParams);
-
- /**
- * @return string
- */
- public function getRefreshToken();
-
- /**
- * @param string $refreshToken
- */
- public function setRefreshToken($refreshToken);
-}