This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
forked from thephpleague/oauth1-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow mult-dimension arrays when generating base string for HMAC-SHA1…
… signature. Fixes thephpleague#39 With this implementation, multi-dimensional arrays can be passed to League\OAuth1\Client\Server::getHeaders() and be correctly transformed. For prior art, consider the WP REST API - OAuth 1.0a Server plugin. specifically: * [https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L667-L674](https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L667-L674) * [https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L706-L753](https://github.com/WP-API/OAuth1/blob/master/lib/class-wp-rest-oauth1.php#L706-L753)
- Loading branch information
1 parent
3df4d74
commit dece413
Showing
2 changed files
with
153 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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