API Safari 使用什么作为帐户密码
What API does Safari use for the account password
这里是请求用户macOS账号密码的对话框:
Safari 正在使用哪个 API 应用来利用此密码?我可以在自己的应用程序中使用相同的 API 吗?
您可以使用 Activity 监视器查看 Safari 打开了哪些文件。看来你要找的框架是:
/System/Library/PrivateFrameworks/LocalAuthenticationUI.framework/
有 public LocalAuthentication framework,但 Safari 使用的 UI 部分似乎是私有的。
据此official Apple documentation:
Private frameworks are appropriate for code modules you want to use in your own applications but do not want other developers to use.
这里是请求用户macOS账号密码的对话框:
Safari 正在使用哪个 API 应用来利用此密码?我可以在自己的应用程序中使用相同的 API 吗?
您可以使用 Activity 监视器查看 Safari 打开了哪些文件。看来你要找的框架是:
/System/Library/PrivateFrameworks/LocalAuthenticationUI.framework/
有 public LocalAuthentication framework,但 Safari 使用的 UI 部分似乎是私有的。
据此official Apple documentation:
Private frameworks are appropriate for code modules you want to use in your own applications but do not want other developers to use.