diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-15 16:17:39 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-15 16:17:39 +0100 |
| commit | 26d10bc0fa4befbac54453228ae1ce89021bdec2 (patch) | |
| tree | 029d7240ecf7416205e5f76cf9107a6b5bdf8ca3 /server/vendor/php-opencloud/common/src/Common/Auth/Token.php | |
| parent | 8ad216dedf017f3d6de047a25d08db3b98e16361 (diff) | |
| parent | 03ef74d0cfe675a6e18a91f039182ca1b248d8f5 (diff) | |
Merge branch 'develop' into loic
Diffstat (limited to 'server/vendor/php-opencloud/common/src/Common/Auth/Token.php')
| -rw-r--r-- | server/vendor/php-opencloud/common/src/Common/Auth/Token.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/vendor/php-opencloud/common/src/Common/Auth/Token.php b/server/vendor/php-opencloud/common/src/Common/Auth/Token.php new file mode 100644 index 0000000..200fcee --- /dev/null +++ b/server/vendor/php-opencloud/common/src/Common/Auth/Token.php @@ -0,0 +1,15 @@ +<?php + +namespace OpenCloud\Common\Auth; + +interface Token +{ + public function getId(); + + /** + * Indicates whether the token has expired or not. + * + * @return bool TRUE if the token has expired, FALSE if it is still valid + */ + public function hasExpired(); +} |
