src/One/AbstractProvider.php
protected function shouldBypassCache($token, $secret)
    {
        $newHash = sha1($token.'_'.$secret);

        if (! empty($this->userHash) && $newHash !== $this->userHash) {
            $this->userHash = $newHash;

            return true;
        }

        $this->userHash = $this->userHash ?: $newHash;

        return false;
    }
protected function shouldBypassCache($token, $secret)
    {
        $newHash = sha1($token.'_'.$secret);

        if (! empty($this->userHash) && $newHash !== $this->userHash) {
            $this->userHash = $newHash;

            return true;
        }

        $this->userHash = $this->userHash ?: $newHash;

        return false;
    }
protected function shouldBypassCache ( $ token , $ secret ) { $ newHash = sha1 ( $ token . '_' . $ secret ) ; if ( ! empty ( $ this -> userHash ) && $ newHash !== $ this -> userHash ) { $ this -> userHash = $ newHash ; return true ; } $ this -> userHash = $ this -> userHash ? : $ newHash ; return false ; }
Determine if the user information cache should be bypassed.

@param  string  $token
@param  string  $secret
@return bool
Determine if the user information cache should be bypassed .