pam:Linux的可插入身份验证模块(PAM)的Safe Rust API

上传者: 42132598 | 上传时间: 2023-06-30 11:14:48 | 文件大小: 25KB | 文件类型: ZIP
pam-Linux插入式身份验证模块(PAM)的Safe Rust API 注意:目前仅支持开箱即用的基本用户名/密码认证。 警告 通过env模块提供的环境支持可能已损坏,并且不应在当前状态下使用! 用法 将pam添加到您的Cargo.toml: [ dependencies ] pam = " 0.7.0 " 使用Authenticator结构进行身份验证并打开会话 extern crate pam; pub fn main () { let service = "" ; let user = "" ; let password = "" ; let mut auth = pam :: Authenticator :: with_password (service). unwr

文件下载

资源详情

[{"title":"( 20 个子文件 25KB ) pam:Linux的可插入身份验证模块(PAM)的Safe Rust API","children":[{"title":"pam-master","children":[{"title":"LICENSE-MIT <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"macros","children":[{"title":"Cargo.toml <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"lib.rs <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 151B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"types.rs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"client.rs <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"enums.rs <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"env.rs <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"module.rs <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"conv.rs <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"functions.rs <span style='color:#111;'> 12.52KB </span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'> 866B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE-APACHE <span style='color:#111;'> 10.52KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"spawn_bash.rs <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"azure-pipelines.yml <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明