proofgeist / feathers-filemaker

a FileMaker Server adapter for feathers.js
MIT License
15 stars 6 forks source link

change credentials on the fly #4

Closed toddgeist closed 8 years ago

toddgeist commented 8 years ago

There are cases where we need to override the userName and password supplied by the connection object.

toddgeist commented 8 years ago

If all methods take a param now. And if that param has a auth object on it, it will use that instead of the default credentials for the connection. I think we can have some authBasic middleware that can stick the auth object on the param