wsHttpBinding requests a token by any issuer, and only
requests the PPID claim.x These defaults can??™t be changed with
wsHttpBinding. Although these are reasonable defaults for
simple cases, in most scenarios it will be desirable to be able to
specify the issuer and requested claims. For this extra control,
use wsFederationHttpBinding.
The following example shows how to use
wsFederationHttpBinding in a WCF con?¬?guration ?¬?le:
name="AccountBalanceFederationBinding"
>
claimType="http://.../claims/emailaddress"
/>
claimType="http://.../claims/phonenumber"
isOptional="true"
/>
258 CardSpace Implementation
In this example, "http://schemas.xmlsoap.org/ws/2005/
05/identity" has been replaced with "http://??¦" to help
readability. When a Web service uses this binding, it is requesting
a Personal Card, because the issuer address is set to the selfissued
URI. The issuer can be set to the URI of any card
provider, just like in the browser scenarios at the start of this
chapter.
Pages:
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386