We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As recommended by OD please upgrate Oauth to v3
public function getTokenFromConsumerKey() { $url = self::BASE_URL . '/oauth/v3/token';
$credentials = $this->getClientId() . ':' . $this->getClientSecret(); $headers = array('Authorization: Basic ' . base64_encode($credentials)); $args = array('grant_type' => 'client_credentials'); $response = $this->callApi($headers, $args, $url, 'POST', 200); if (!empty($response['access_token'])) { $this->setToken($response['access_token']); } return $response; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As recommended by OD please upgrate Oauth to v3
public function getTokenFromConsumerKey()
{
$url = self::BASE_URL . '/oauth/v3/token';
The text was updated successfully, but these errors were encountered: