-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for user authentication #117
base: master
Are you sure you want to change the base?
Conversation
Won't compile with Elixir < 1.2. Maybe you should update your |
I've updated
|
Awesome. I'll take a look as soon as I am able. I appreciate the help! |
Can we get a test for user auth? Otherwise, this looks great. |
Will write a few tests asap. |
* connection authenticates with admin. * connection fails to authenticate with invalid user. * connection authenticates with newly created user.
Any news on this one? I'd love to see this functionality. |
Add authentication via
:user
and:pass
options.User accounts have been added to RethinkDB in version 2.3. The default options for connecting are
[user: "admin", pass: ""]
. The old authentication (using:auth_key
) has been removed.If you wish to provide the old authentication method for backward compatibility, i will update my PR to do so 😺.