15 lines
281 B
PHP
15 lines
281 B
PHP
<?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();
|
|
}
|