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

Access to ExecutionContext in ITokenValidator implementation #9

Closed
nigelbasel opened this issue Aug 27, 2018 · 3 comments
Closed

Access to ExecutionContext in ITokenValidator implementation #9

nigelbasel opened this issue Aug 27, 2018 · 3 comments

Comments

@nigelbasel
Copy link

nigelbasel commented Aug 27, 2018

At present the http.csharp.handlebars template only sets up the Context Setter just prior to executing the Command. It would be extremely useful to have access to the Context from inside the ITokenValidator.ValidateAsync method.

If we moved the code that sets the Execution Context (currently line 118) to an earlier point (say Line 40) then the execution context would be available to all the code that runs from there on out .

@JamesRandall
Copy link
Owner

Makes sense, I'll look to move it.

@JamesRandall
Copy link
Owner

This should land in the next release (v0.15.0) that I have underway. I'd hoped to push it out as part of 0.14.0 that has just released but I really needed to get an urgent fix out.

JamesRandall added a commit that referenced this issue Oct 4, 2018
@JamesRandall
Copy link
Owner

JamesRandall commented Oct 4, 2018

This is now available in 0.15.2 that is indexing on NuGet now.

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

No branches or pull requests

2 participants