-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add body_hash_function for oauth_body_hash (#57)
According to the [OAuth Request Body Hash draft], the oauth_body_hash algorithm for HMAC-SHA1 or RSA-SHA1 Oauth signature methods should be SHA1. This patch keep using the default hash function for the body hash but allows to define an alternative one via the `body_hash_function` initial option. [OAuth Request Body Hash draft]: https://tools.ietf.org/id/draft-eaton-oauth-bodyhash-00.html#anchor3
- Loading branch information
Showing
3 changed files
with
108 additions
and
92 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
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