private function tokenExpired()
    {
        $tokenExpirationTime = $this->requestTimestamp
            + $this->data[static::RESPONSE_KEY_ACCESS_TOKEN_TTL]
            - static::TTL_CORRECTION_TIME_SEC;

        return $this->tokenExists() && time() > $tokenExpirationTime;
    }
private function tokenExpired()
    {
        $tokenExpirationTime = $this->requestTimestamp
            + $this->data[static::RESPONSE_KEY_ACCESS_TOKEN_TTL]
            - static::TTL_CORRECTION_TIME_SEC;

        return $this->tokenExists() && time() > $tokenExpirationTime;
    }
private function tokenExpired ( ) { $ tokenExpirationTime = $ this -> requestTimestamp + $ this -> data [ static :: RESPONSE_KEY_ACCESS_TOKEN_TTL ] - static :: TTL_CORRECTION_TIME_SEC ; return $ this -> tokenExists ( ) && time ( ) > $ tokenExpirationTime ; }
Checks if token is expired
Checks if token is expired