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

Re-add Token() for v2 #58

Closed
jpfluger opened this issue Apr 30, 2019 · 1 comment
Closed

Re-add Token() for v2 #58

jpfluger opened this issue Apr 30, 2019 · 1 comment

Comments

@jpfluger
Copy link

jpfluger commented Apr 30, 2019

My middleware unit testing used the v1 Token() function for verifications of client-server responses. Does v2 have a way for middleware to access the private token directly?

@jpfluger
Copy link
Author

Actually, I think I just answered this question. I can compose MySession from Session and override the function LoadAndSaveHeader as in this example. That will work!

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

1 participant