pam-auth
Safe Rust bindings to Linux Pluggable Authentication Modules (PAM). Currently only supports basic username/password authentication.
Note about stability
This crate follows semantic versioning. As such all versions below 1.0.0
should be
considered development versions. This means the API could change any time.
Usage
- Add
pam-auth
to your Cargo.toml:
[]
= "0.2.0"
- Use the
Authenticator
struct to authenticate and open a session
extern crate pam_auth;
TODO:
- Implement basic user/password authentication
- Add
Authenticator
struct - Add documentation
- Verify current
conv
does not leak memory - Allow custom
conv
functions to be passed (in pam-sys?) - Code cleanup