public function processRequestToken($token) {
        // Setup the params
        $params = [
            'client_id'     => $this->clientID,
            'client_secret' => $this->secret,
            'code'          => $token,
            'grant_type'    => 'authorization_code',
            'redirect_uri'  => $this->redirectURI
        ];

        // Parse the cURL result
        return CURL::post($this->url, $params);
    }
public function processRequestToken($token) {
        // Setup the params
        $params = [
            'client_id'     => $this->clientID,
            'client_secret' => $this->secret,
            'code'          => $token,
            'grant_type'    => 'authorization_code',
            'redirect_uri'  => $this->redirectURI
        ];

        // Parse the cURL result
        return CURL::post($this->url, $params);
    }
public function processRequestToken ( $ token ) { // Setup the params $ params = [ 'client_id' => $ this -> clientID , 'client_secret' => $ this -> secret , 'code' => $ token , 'grant_type' => 'authorization_code' , 'redirect_uri' => $ this -> redirectURI ] ; // Parse the cURL result return CURL :: post ( $ this -> url , $ params ) ; }
Convert a request token to an access token

@param   string  $token
@return  mixed
Convert a request token to an access token