【问题标题】:Infering Credentials with WCF使用 WCF 推断凭据
【发布时间】:2011-06-30 15:46:45
【问题描述】:

我需要从 WCF 服务获取用户的任务列表,以便在 iPhone 应用程序上显示。我打算使用http://www.nayyeri.net/custom-username-and-password-authentication-in-wcf-3-5 之类的东西进行身份验证,但我将如何获取用户名/用户 ID 来过滤我的项目列表?

【问题讨论】:

    标签: iphone wcf authentication basic-authentication http-authentication


    【解决方案1】:

    您需要按照此question on custom validator access 的答案中的示例对用户名进行操作。这个good overview of custom service credentials 展示了所有部分如何协同工作。在 iPhone 端,您需要将客户端配置为通过 HTTPS 执行基本 HTTP 身份验证才能成功调用服务。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-26
      • 1970-01-01
      • 2013-12-25
      相关资源
      最近更新 更多