hapi Tutorial — Use Multiple Authentication Strategies for a Route
Автор: Future Studio
Загружено: 2017-09-29
Просмотров: 5149
Описание:
When using hapi as the application basis, you can go with various authentication strategies. Like, basic authentication with username and password or cookie-based sessions that remember the user on returning visits. There’s JWT, OAuth, Hawk and many more.
In hapi, you can use multiple authentication strategies for a route. If you want users to access a route authenticated with JWT, cookie-based session, or authenticated via GitHub: you’re ready to rock!
Use the route’s configuration and define the "auth.strategies" property to an array of allowed hapi authentication strategies.
Find the tutorial for an easy read here:
► https://futurestud.io/tutorials/hapi-...
Build your own Futureflix, within the “learn hapi” learning path
► http://learnhapi.com
Watch the playlist with all hapi videos here:
► • hapi Tutorial — Getting Started and Your S...
----------------------------------------
Future Studio is helping 5,000+ users daily to solve Android and Node.js problems with 340+ written tutorials and videos. We’re on a mission to provide new in-depth content every week.
Checkout 340+ technical in-depth tutorials:
► https://futurestud.io
Subscribe for two new videos every week:
► https://www.youtube.com/c/FutureStudi...
----------------------------------------
Follow us on social media to get updates on new content:
► / futurestud_io
► / futurestudiouniversity
► https://plus.google.com/+FutureStudio...
----------------------------------------
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: