Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to expose full txn across immediate boundary. #212

Merged
merged 1 commit into from Aug 14, 2017

Conversation

sjudson
Copy link
Contributor

@sjudson sjudson commented Aug 2, 2017

This adds an arity == 2 option for the immediateResponseFunc callback definition, which passes the full transaction object (aka req.oauth2) through across the boundary.

This is an unstructured and generally 'use at your own risk' method, that provides the least ease of use but most power, since the transaction loader may be configured to provide any information through to the decision logic as the implementer sees fit.

@coveralls
Copy link

coveralls commented Aug 2, 2017

Coverage Status

Coverage increased (+0.0009%) to 99.786% when pulling 36ae377 on sjudson:expose-txn into 0516025 on jaredhanson:master.

@jaredhanson jaredhanson merged commit 2e18349 into jaredhanson:master Aug 14, 2017
@jaredhanson
Copy link
Owner

Merged and released to npm as oauth2orize@1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants