客户端凭证的使用
我是使用 WCF 服务的初学者,我试图了解 ClientCredential
方法的工作原理。我能够使用 wsHttpBinding
和 SQLMembershipProvider
成功使用身份验证。
但是,我想知道 ClientCredential 如何进行身份验证。我想重写登录方法,以便围绕 SQLMembership 编写一些附加代码。
此外,我想知道是否可以从服务器端注销用户。
我还想知道如何从服务器端检索 MembershipUser/MembershipProvider ?
I'm a beginner using WCF Service, and I'm trying to understand how the ClientCredential
methods work. I am able to successfully use authentication using wsHttpBinding
and SQLMembershipProvider
.
However, I would like to know how ClientCredential does the authentication. I would like to override the login method to write some additional code around the SQLMembership one.
Moreover, I would like to know if it is possible to logoff the user from the server side.
I would also like to know how I can retrieve the MembershipUser/MembershipProvider from the server side?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论