|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-06-29 14:09 UTC] joe at manvscode dot com
Description: ------------ It isn't clear how extensions can be supported--like this one: http://oauth.googlecode.com/svn/spec/ext/body_hash/1.0/drafts/3/spec.html This is needed for providers that are expecting data posted and a content-type other than "application/x-www-form-urlencoded" (i.e. in the case of XML/JSON posting). PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
We had actually discussed that specific extension and its' implementation. IIRC, the conclusion we reached basically we can only check that the signature matches per the OAuth Core spec but generating the actual oauth_body_hash would not be easy to generalize. There might be some Content-Type checks too. FWIW, ideally if the OAuth parameters come in the Authorization header you can call OAuthProvider::setRequiredParams("oauth_body_hash") but it would be up to the implementer to generate and verify the oauth_body_hash. - JJ