有关在 Windows 中创建自定义凭据提供程序的文档
有关创建自定义 Windows 凭据提供程序的文档位于哪里?到目前为止我发现的所有内容都指向有关如何创建自定义凭据提供程序的同一篇文章(MSDN 杂志:“使用 Windows Vista 的凭据提供程序创建自定义登录体验”),但该文章和我能找到的其他任何内容都没有提供有关实际工作原理的文档。最多有一些代码示例,但这些代码示例并不能解释凭据提供程序的完整机制,也不能有效地展示如何推出您自己的凭据提供程序。
Where is the documentation on creating a custom Windows Credential Provider located? Everything I've found so far points to the same article on how to make a custom credential provider (MSDN Magazine: "Create Custom Login Experiences With Credential Providers For Windows Vista"), but neither that article nor anything else I can find provides documentation on how things actually work. At best there are some code samples, but those don't explain the full mechanics of credential providers or usefully show how to roll your own.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
现在这里有一个正确的文档。它包含开发自定义凭据提供程序时您应该了解的所有内容。
There is now a proper documentation here. It contains everything you should know when developing custom credential providers.
在有关 Windows Vista 智能卡基础结构的文章中,有一个指向凭据提供程序技术参考的链接 (链接到 archive.msdn.microsoft.com 上的凭据提供程序技术参考)。该列表包含一个描述 Windows Vista 凭据提供程序框架的文档。我认为您会发现此技术参考对于理解 Windows 中的凭据提供程序如何工作非常有帮助。
希望您找到您正在寻找的东西!
In an article on Windows Vista Smart Card Infrastructure, there is a link to Credential Provider Technical Reference (link to Credential Provider Technical Reference on archive.msdn.microsoft.com). The list contains a document which describes the Windows Vista Credential Provider Framework. I think you will find this technical reference quite helpful in understanding how Credential Provider in Windows works.
Hope you find what you are looking for!
在 Windows SDK 中,Samples\security 文件夹中有一个凭据提供程序代码示例。 SDK 文件中还包含该示例的文档(MHTML 格式)。该文档称,在最新的 Windows SDK 中,凭据提供程序示例已更新为适用于 Windows 7。
奇怪的是,该文档似乎无法在任何地方在线获得。它就在 SDK 文档中。
请注意,即使您已经安装了 Visual Studio,也需要单独安装 Microsoft Windows SDK。
In the Windows SDK, there is a Credential Provider code example in the Samples\security folder. There is also documentation (in MHTML format) for the example, contained in the SDK files. In the latest Windows SDK, the Credential Provider example has been updated to be suitable for Windows 7, says the document.
Strangely, the documentation doesn't seem to be available online anywhere. It's just there in the SDK docs.
Please note that Microsoft Windows SDK is something that you need to separately install, even if you already have Visual Studio installed.
欢迎来到 Windows 10 的美丽世界。
微软实际上已经稍微更新了 Windows 10 的文档,有 此页面,在底部,它链接到包含 Windows 10 更新的凭据提供商的技术参考。 (在撰写本文时)顶部有一个很大的免责声明,即它只是预发布信息,不保证准确性。例如,参考底部仍然是电子邮件地址 [email protected] 这显然是无效的已经很久了。
最新的源代码示例是开源 C# 包装器 pgina,它可能有助于说明如何使用此 CredentialProvider API。
Welcome to the beautiful world of Windows 10.
Microsoft have actually updated the documentation a tiny little bit for Windows 10, there is this page, and at the bottom, it links to the technical reference for credentail providers with updates for Windows 10. Which has (at the time of writing this) a big disclaimer at the top that it is only pre-release information and accuracy is not guaranteed. For example, at the bottom of the reference is still the e-mail address [email protected] which has apparently been invalid for a long time already.
The most recent source code example is the open-source C# wrapper pgina which may help illustrate how to use this CredentialProvider API.
这个MSMVP How-To 看起来对 Windows 7 非常有帮助,并为您提供了一些文档。
这个 MSDN V2 凭据提供程序示例包括针对 Windows 8/8.1 的更改。似乎是一个很好的起点。
This MSMVP How-To looks pretty helpful up to Windows 7 and points you to some documentation.
And this MSDN V2 Credential Provider sample includes changes for Windows 8/8.1. Seems like a good place to start.