Skip to content

Releases: oscar-h64/pam-haskell

v0.2.0.0

01 Jul 20:08
4949171
Compare
Choose a tag to compare

Changelog:

  • authenticate function now returns MonadIO m => m PamRetCode rather than IO (Either Int ())
  • authSuccess :: PamRetCode -> Bool added which checks if the given PamRetCode is PamSuccess or not
  • whenSuccess :: MonadIO m => PamRetCode -> m PamRetCode -> m PamRetCode added, which returns the second argument if the given response code is PamSuccess, otherwise it returns the given response code (useful for continuing only if the PAM action succeeded).
  • pamCodeToMessage, pamCodeToCDefine and pamCodeDetails now take a PamRetCode rather than an Int
  • checkAccount function has now been implemented
  • Switched to PVP versioning
  • Some documentation added

v0.1: Initial Release

26 Jun 12:54
bdfb87f
Compare
Choose a tag to compare

Version 0.1 as in Hackage, with stack.yaml and stack.yaml.lock added.

This release provides PAM interface for Haskell programs. It contains subset of C PAM API bindings. The bindings don't include functions for writing PAM modules.