public function getIsExpired()
    {
        $expirationDuration = $this->getExpireDuration();
        if (empty($expirationDuration)) {
            return false;
        }

        return (time() >= ($this->createTimestamp + $expirationDuration));
    }
public function getIsExpired()
    {
        $expirationDuration = $this->getExpireDuration();
        if (empty($expirationDuration)) {
            return false;
        }

        return (time() >= ($this->createTimestamp + $expirationDuration));
    }
public function getIsExpired ( ) { $ expirationDuration = $ this -> getExpireDuration ( ) ; if ( empty ( $ expirationDuration ) ) { return false ; } return ( time ( ) >= ( $ this -> createTimestamp + $ expirationDuration ) ) ; }
Checks if token has expired.
@return bool is token expired.
Checks if token has expired .