Description:
This module provides support for more advanced authentication mechanisms
using the Drupal Feeds module. http://drupal.org/project/feeds
Features
Most notably, this can be used for feeds requiring a 2-step authentication
where the first request passes authentication credentials, and then the
server returns a form of security tokens to be passed in future reqeusts.
The credentials, and return token keys to look for is fully configurable
in the Fetcher settings for your Feed. The communication protocol is also
configurable, plain &url=var and json posting is supported currently.
Use Cases
- Your feed requires a more advanced authentication mechanism than what Feeds Basic HTTP Fetcher provides.
- Your feed requires specific key|value pairs for authentication.
- Your feed requires a JSON post of credentials to authenticate.
- Your feed uses a 2-step authentication. You post credentials, it authenticates and returns security tokens to you which you then have to pass in subsequent calls.
Sandbox page: http://drupal.org/sandbox/drastik/1928654
Git clone: git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/drastik/1928654.git
Drupal version: 7.x
Coder report: http://ventral.org/pareview/httpgitdrupalorgsandboxdrastik1928654git
Notes about Coder report:
"all functions should be prefixed with your module":
It follows this in everywhere except the http_aa_request.inc where it follows Feeds' pattern of naming.
"Class property $file_path should use lowerCamel naming without underscores":
Again, here it is following Feeds' other classes naming patterns.
Other project reviews (PAReview):
http://drupal.org/node/1920606#comment-7113902
http://drupal.org/node/1495600#comment-7118774
http://drupal.org/node/1914096#comment-7118800
Comment | File | Size | Author |
---|---|---|---|
#7 | FeedsHTTPFetcherAA-validation.png | 96.27 KB | jwjoshuawalker |
Feeds HTTP AA.png | 77.84 KB | jwjoshuawalker |
Comments
Comment #1
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedOther project reviews (for bonus):
http://drupal.org/node/1920606#comment-7113902
http://drupal.org/node/1495600#comment-7118774
http://drupal.org/node/1914096#comment-7118800
Comment #2
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedTagging with review bonus.
Comment #2.0
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedAdded Use Cases to see the value of this module.
Comment #3
aendra CreditAttribution: aendra commented✓ Automated Review
✗ Manual Review
Comment #4
aendra CreditAttribution: aendra commentedForgot to change status.
Comment #5
jwjoshuawalker CreditAttribution: jwjoshuawalker commented@aendrew, nice catch and thank you.
That getRaw() typo/oversight bugs me. When I got the job specs, it was one of those situations where I had almost every line of the module written in my head before I started. I knocked it out one evening, very excited knowing how useful it actually was, so I wanted to contribute back. I guess my hands couldn't keep up :)
CHANGELOG:
I've double checked everything and added several features while at it. I believe it to be solid. Also coder review of new version is clean like the last.
You said: "that said, I don't really have any authenticated feeds to try this with"
I will put up a services-powered feed (or something similar) to http://drastikbydesign.com 's blog that requires authentication, to test with.
Comment #6
klausimanual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to cubeinspire as he might have time to take a final look at this.
Comment #7
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedThanks klausi.
Applied everything from #6, as well as some extra validation on settings form to save user's time in the case of mis-configuration.
Ventral clean: http://ventral.org/pareview/httpgitdrupalorgsandboxdrastik1928654git
CHANGELOG:
Comment #8
jthorson CreditAttribution: jthorson commentedThanks for your contribution, drastik!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #9
aendra CreditAttribution: aendra commentedCongrats, drastik!
Comment #10
jwjoshuawalker CreditAttribution: jwjoshuawalker commented@aendrew,
Thanks, and thank you for the review (jthorson & klausi as well!)
Comment #11.0
(not verified) CreditAttribution: commentedAdding project review links to summary