Created
October 26, 2016 20:07
-
-
Save WyriHaximus/1d686db17840317d568ebfe1b978ecbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return (new RequestSigner( | |
| new ConsumerKey('consumer_key'), | |
| new ConsumerSecret('consumer_secret') | |
| ))->withAccessToken( | |
| new AccessToken('token_key'), | |
| new TokenSecret('token_secret') | |
| )->sign($request); // Returns a signed PSR7 request you can use in any PSR7 capable HTTP client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment