Mercurial > crates > nonstick
comparison src/libpam/module.rs @ 103:dfcd96a74ac4 default tip
write a truly prodigious amount of documentation
adds a bunch of links to the OpenPAM man pages and the XSSO spec
as well as just a bunch of prose and stuff.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 25 Jun 2025 00:59:24 -0400 |
parents | f3e260f9ddcb |
children |
comparison
equal
deleted
inserted
replaced
102:94eb11cb1798 | 103:dfcd96a74ac4 |
---|---|
9 /// Here is full example of a PAM module that would authenticate | 9 /// Here is full example of a PAM module that would authenticate |
10 /// and authorize everybody: | 10 /// and authorize everybody: |
11 /// | 11 /// |
12 /// ```no_run | 12 /// ```no_run |
13 /// use nonstick::{ | 13 /// use nonstick::{ |
14 /// pam_hooks, Flags, OwnedLibPamHandle, PamHandleModule, PamModule, Result as PamResult, | 14 /// pam_hooks, ConversationAdapter, Flags, OwnedLibPamHandle, PamHandleModule, PamModule, |
15 /// ConversationAdapter, | 15 /// Result as PamResult, |
16 /// }; | 16 /// }; |
17 /// use std::ffi::CStr; | 17 /// use std::ffi::CStr; |
18 /// # fn main() {} | 18 /// # fn main() {} |
19 /// | 19 /// |
20 /// struct MyPamModule; | 20 /// struct MyPamModule; |