1<?php 2 3declare(strict_types=1); 4 5namespace OpenStack\Common\Auth; 6 7interface Token 8{ 9 public function getId(): string; 10 11 /** 12 * Indicates whether the token has expired or not. 13 * 14 * @return bool TRUE if the token has expired, FALSE if it is still valid 15 */ 16 public function hasExpired(): bool; 17} 18