protected function verifyExpiration(array $tokenData)
    {
        if (!isset($tokenData['expirationDateTime'])) {
            return;
        }
        $expirationDateTime = \DateTime::createFromFormat(\DateTime::ISO8601, $tokenData['expirationDateTime']);
        if ($this->now instanceof DependencyProxy) {
            $this->now->_activateDependency();
        }
        if ($expirationDateTime < $this->now) {
            throw new AccessDeniedException(sprintf('Token expired!%sThis token expired at "%s"', chr(10),
                $expirationDateTime->format(\DateTime::ISO8601)), 1429697439);
        }
    }
protected function verifyExpiration(array $tokenData)
    {
        if (!isset($tokenData['expirationDateTime'])) {
            return;
        }
        $expirationDateTime = \DateTime::createFromFormat(\DateTime::ISO8601, $tokenData['expirationDateTime']);
        if ($this->now instanceof DependencyProxy) {
            $this->now->_activateDependency();
        }
        if ($expirationDateTime < $this->now) {
            throw new AccessDeniedException(sprintf('Token expired!%sThis token expired at "%s"', chr(10),
                $expirationDateTime->format(\DateTime::ISO8601)), 1429697439);
        }
    }
protected function verifyExpiration ( array $ tokenData ) { if ( ! isset ( $ tokenData [ 'expirationDateTime' ] ) ) { return ; } $ expirationDateTime = \ DateTime :: createFromFormat ( \ DateTime :: ISO8601 , $ tokenData [ 'expirationDateTime' ] ) ; if ( $ this -> now instanceof DependencyProxy ) { $ this -> now -> _activateDependency ( ) ; } if ( $ expirationDateTime < $ this -> now ) { throw new AccessDeniedException ( sprintf ( 'Token expired!%sThis token expired at "%s"' , chr ( 10 ) , $ expirationDateTime -> format ( \ DateTime :: ISO8601 ) ) , 1429697439 ) ; } }
Checks whether the token is expired

@param array $tokenData
@return void
@throws AccessDeniedException
Checks whether the token is expired