dphiffer/wp-json-api — pull request #3 by Achillefs (2011-12-09 16:26:54+00:00)
Title: Added authentication for the posts controller in the form of a private authenticate() method.

The authentication method utilizes the 'author' and 'user_password' query vars if they exist to try and authenticate the user. If authentication fails you get an error, and if the variables do not both exist the method fall back to the previously implemented functionality.