src/Vinelab/Auth/Social/Providers/Twitter/OAuthToken.php
public function validateRequestTokenResponse($params)
    {
        if (!isset($params['oauth_token']) ||
             !isset($params['oauth_token_secret']) ||
            empty($params['oauth_token']) ||
            empty($params['oauth_token_secret'])) {
            throw new InvalidOAuthTokenException('request token');
        }

        return true;
    }
public function validateRequestTokenResponse($params)
    {
        if (!isset($params['oauth_token']) ||
             !isset($params['oauth_token_secret']) ||
            empty($params['oauth_token']) ||
            empty($params['oauth_token_secret'])) {
            throw new InvalidOAuthTokenException('request token');
        }

        return true;
    }
Validates the received data for a request token.

@param array $params