Surface fixes
- Fixed #31 whereby I changed the boolean response in 2.0.0 to a PAM constant. This reverts to the boolean response as existed in v1.8.5. The result code is still stored in the
obj.code
attribute - Added the
PamAuthenticate.authenticate()
method signature and docstring to both of the new and legacy interfaces - Changed the
PamAuthenticate.authenticate()
type hinting so it didn't interfere with the docstring - update the version to 2.0.2
Under the hood changes
- Start mocking the libpam methods so we can wholly disassociate ourselves from the underlying system. This lets us test more of the actual python code and lets us start injecting errors to test for