accessing req object #3

Merged
merged 2 commits into from Feb 10, 2013

Conversation

Projects
None yet
2 participants
Contributor

tolgaakyuz commented Nov 5, 2012

Request object is set to the Token Strategy in order to provide additional functionality to the service provider for authenticating the request.

@jaredhanson jaredhanson merged commit 7309711 into jaredhanson:master Feb 10, 2013

1 check passed

default The Travis build passed
Details
Owner

jaredhanson commented Feb 10, 2013

I've merged this patch, primarily for the tokenSecret encoding. (I've also added encoding of the consumerSecret, as the spec mandates).

I've backed out the change that exposes this.req, however. I'd be happy to accept a modified patch the follows the passReqToCallback pattern that other strategies follow. This can be seen here: https://github.com/jaredhanson/passport-http-bearer/blob/master/lib/passport-http-bearer/strategy.js#L110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment