summaryrefslogtreecommitdiff
path: root/server/vendor/php-opencloud/common/src/Common/Auth/Token.php
blob: 200fcee4b38b21ae016bc085f22d0b13eb540e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();
}