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 request.auth and request.server.settings.app to view handler context. #88

Closed
wants to merge 2 commits into from
Closed

Conversation

millette
Copy link

@millette millette commented Jun 3, 2016

No description provided.

@millette millette changed the title Add request.auth to view handler context. Add request.auth and request.server.settings.app to view handler context. Jun 3, 2016
@millette
Copy link
Author

millette commented Jun 3, 2016

As auth and app context fields.

@mtharrison
Copy link

See related issues:

hapijs/hapi#2471
hapijs/hapi#2419

@millette
Copy link
Author

millette commented Jun 3, 2016

Thanks for the pointers.

I'm using rejoice and visionary which has a handy context option (object or function) but since we can't put a function in manifest.json, I'm trying to tie things together. I've only been using hapi for a week and haven't been thru all the learning material yet.

@millette
Copy link
Author

millette commented Jun 3, 2016

https://github.com/mtharrison/hapi-context-credentials is perfect, thanks 👍 (it works with hapi v13.4.1)

I will search for an equivalent plugin for server.app, or write it if it doesn't exist.

@millette millette closed this Jun 3, 2016
@millette
Copy link
Author

millette commented Jun 3, 2016

https://github.com/millette/hapi-context-app Yé! Tests and examples aren't updated yet (reflecting hapy-context-credentials provenance) but code and readme are up to date.

@millette millette deleted the auth-context branch June 4, 2016 15:35
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants