我们制作了一个管理电子钱包的web服务,但我们不知道如何授权我们的用户。WCF授权
验证委托给身份服务,返回SOAP。
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AuthenticateUserByEmailResponse xmlns="http://services.xxxx.xx/">
<AuthenticateUserByEmailResult>boolean</AuthenticateUserByEmailResult>
</AuthenticateUserByEmailResponse>
</soap:Body>
</soap:Envelope>
我们读过关于basicHttpBinding的和WsHttpBinding的,但我们不能找到一个类似的塞纳里奥,我们只是担心授权。
你们对如何开始有什么建议吗?
你能做什么,你需要做什么?你可以通过控制台应用程序调用你的认证服务吗?你有用户的电子邮件吗?如果您有wsdl,则可以使用[工具](http://msdn.microsoft.com/zh-cn/library/7h3ystb6.aspx)为您生成客户端代码。 – nvoigt 2013-03-07 16:56:41
用户必须向我们提供存储在身份服务数据库中的电子邮件和密码。我们所需要知道的是,如果用户在查看自己的钱包时想用自己的服务进行身份验证,想要进行交易等。 – David 2013-03-07 17:13:21