www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [vibe.d] How to create authentication system via REST interface?

https://forum.dlang.org/post/bctojiyzicxaueqgmspe forum.dlang.org

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.
I have just posted an example on this on github at https://github.com/pdenapo/jwt_in_d (It is just a proof of concept) It would be great to add vibe-d built in support for this. Its documentation was somewhat hard to read for me.
Sep 17 2019