maxdavidson / Bullet

A small webapp embracing modern web technologies.
MIT License
5 stars 1 forks source link

Local Authentication #1

Open michael4reynolds opened 10 years ago

michael4reynolds commented 10 years ago

This has got to be one of the best server and client Dart combination I've seen to date. If it's not to much to ask, are there any plans to add local authentication?

maxdavidson commented 10 years ago

Thanks! When you mean local authentication, I suppose you mean running my own user database with hashed passwords? It wouldn't be that hard, just define a function on the server that takes a username and a password and returns a generated token. Then you would have to extend the authenticator classes to handle this custom authentication method.

I am not planning on working on this project anymore, since I made it for a class with specific requirements. I might however extract and fix up some parts of it and put on pub, probably my Connector module. I have not seen any other RPC libraries that allow Dart streams to be called and subscribed to remotely the way I'm doing it.