Skip to content

Instantly share code, notes, and snippets.

View syedatique's full-sized avatar

Syed Hasan Atique syedatique

  • CodeClan
  • Scotland
View GitHub Profile
@syedatique
syedatique / OauthClient.php
Last active May 18, 2016 16:04 — forked from paliarush/OauthClient.php
Scripts to demo Magento 2 Oauth1.a token exchange
<?php
use OAuth\Common\Consumer\Credentials;
use OAuth\Common\Http\Client\ClientInterface;
use OAuth\Common\Http\Exception\TokenResponseException;
use OAuth\Common\Http\Uri\Uri;
use OAuth\Common\Http\Uri\UriInterface;
use OAuth\Common\Storage\TokenStorageInterface;
use OAuth\OAuth1\Service\AbstractService;
use OAuth\OAuth1\Signature\SignatureInterface;