Add authenticate method
Merge pull request #18 from ajdonnison/master

Add authenticate method