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

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

        return true;
    }
public function validateAccessTokenResponse ( $ params ) { if ( ! isset ( $ params [ 'oauth_token' ] ) || ! isset ( $ params [ 'oauth_token_secret' ] ) || empty ( $ params [ 'oauth_token' ] ) || empty ( $ params [ 'oauth_token_secret' ] ) ) { throw new InvalidOAuthTokenException ( 'access token' ) ; } return true ; }
Validates the received data for an access token.

@param array $params
Validates the received data for an access token .