iOS-TOTP:TOTP 的简单单视图 iOS 实现-源码

上传者: 42114041 | 上传时间: 2021-07-05 13:05:46 | 文件大小: 24KB | 文件类型: ZIP
iOS TOTP 示例 (基于时间的一次性密码)是一种非常简单的两因素身份验证方法。 谷歌身份验证器使用它。 但是,原始 Google Authenticator iOS 客户端的项目非常臃肿,并且很可能在第一次运行时无法编译(至少对我来说不是)。 因此,这里有一个准系统的单视图 iOS 应用程序,它仅使用来自 Google 的 4 个文件。 它有效! (您应该会发现它生成与 Google Authenticator 应用程序相同的代码) 用法 将所需文件添加到您的项目中: OTPGenerator.m/.h* HOTPGenerator.m/.h* MF_Base32Additions.m/.h Note: i and ii are not ARC-compliant so be sure to add the `-fno-objc-arc` Compiler Flag und

文件下载

资源详情

[{"title":"( 24 个子文件 24KB ) iOS-TOTP:TOTP 的简单单视图 iOS 实现-源码","children":[{"title":"iOS-TOTP-master","children":[{"title":".gitignore <span style='color:#111;'> 111B </span>","children":null,"spread":false},{"title":"TOTP Sample.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 22.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"TOTP Sample","children":[{"title":"YAAppDelegate.m <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"LaunchImage.launchimage","children":[{"title":"Contents.json <span style='color:#111;'> 442B </span>","children":null,"spread":false}],"spread":true},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 333B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"YAViewController.m <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"YAViewController.h <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"TOTP Sample-Prefix.pch <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"Main.storyboard <span style='color:#111;'> 12.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"TOTP Sample-Info.plist <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"YAAppDelegate.h <span style='color:#111;'> 289B </span>","children":null,"spread":false}],"spread":true},{"title":"Classes","children":[{"title":"MF_Base32Additions.h <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"MF_Base32Additions.m <span style='color:#111;'> 11.71KB </span>","children":null,"spread":false},{"title":"OTPGenerator.m <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"TOTPGenerator.m <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"OTPGenerator.h <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"TOTPGenerator.h <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"TOTP SampleTests","children":[{"title":"TOTP SampleTests-Info.plist <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"TOTP_SampleTests.m <span style='color:#111;'> 656B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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