MCAuthLib is a library for authentication with Minecraft accounts. It is used in projects such as MCProtocolLib to handle authenticating users.
See example/org/spacehq/mc/auth/test
MCAuthLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.
Builds can be downloaded here. Javadocs can be found here.
MCAuthLib is licensed under the MIT license.