nearform / udaru

Open source Access Manager for node.js
https://nearform.github.io/udaru
MIT License
124 stars 19 forks source link

Udaru functionality plugin #554

Open mihaidma opened 6 years ago

mihaidma commented 6 years ago

Evaluate the usefulness of implementing a Hapi plugin for Udaru that decorates a service with Udaru operations as functions and hides the http requests from it.

Examples

Create user could be:

server.authorization.users.create(...)

Check authorization could be:

server.authorization.check(...)