如何启动 Mac OS X 密码屏幕

发布于 2024-08-16 05:23:09 字数 128 浏览 1 评论 0原文

我正在 Mac OS X 中构建一个应用程序,当单击 QT WIndow 上的按钮时,该应用程序应该在 Mac OS X 中显示密码屏幕。我应该使用哪个 API?另外,无论系统是否锁定,我的应用程序将如何收到通知?

提前致谢。

I am building an application in Mac OS X which should bring up the password screen in Mac OS X once when a button on a QT WIndow is clicked. Which API I should use for this? Also, how will my application get notified whether system is locked or not?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

伤感在游骋 2024-08-23 05:23:09

这听起来很像 SFAuthorizationPluginView

Apple 有一个 API 供您添加自己的身份验证方法。这是一些入门示例代码。

http://developer.apple.com/mac/library/示例代码/NameAndPassword/Introduction/Intro.html

This sounds a lot like an SFAuthorizationPluginView.

Apple has an API for you to add your own authentication methods. Here is some sample code to get started.

http://developer.apple.com/mac/library/samplecode/NameAndPassword/Introduction/Intro.html

壹場煙雨 2024-08-23 05:23:09

我相信您正在寻找 授权服务 API

I believe you are looking for the Authorization Services API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文