On Wed, 20 Sep 2017 21:46:33 GMT, holo wrote:
Hello
Can i use http://vibed.org/api/vibe.web.auth/ for authentication of registred REST interfaces or it is designed to work only with Web interfaces? I see only examples of such usage.
If i can not use it with REST, how can should i handle it in that case? With "@before"?
Regards
holo
Yes, it's actually usable with the REST interface generator, too, and works just like for web interfaces. But examples are indeed still missing - I'll add one for the next release.
However, there are currently two caveats. @noRoute
is only supported for REST interfaces on the current master branch, and there is a bug in conjunction with the Collection!I
feature (#1922). I'll tag a new alpha release of 0.8.2 in the coming days with fixes included.