[vibe.d] How to create authentication system via REST interface?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 15 07:06:03 PDT 2017


On Wednesday, 15 March 2017 at 13:24:07 UTC, NX wrote:
> I'm trying to understand how to create some json-rest api that 
> would return data (in json format) related to that specific 
> logged in user. I see the documentation covers these but I'm 
> totally new to vibe.d so can't quite figure out putting these 
> two things together and make them work. Some easy to follow 
> sample would be incredibly helpful, though any help is 
> appreciated.

You need to look at JWT. There is few good video on youtube about 
it and packed on code.dlang.org

I did not seen ready to use examples :(

If will need implement client side look at Vue.js it is very best 
of existen JS frameworks.


More information about the Digitalmars-d-learn mailing list