{"id":689,"date":"2007-02-19T16:32:18","date_gmt":"2007-02-20T00:32:18","guid":{"rendered":"\/?p=689"},"modified":"2007-02-19T16:35:23","modified_gmt":"2007-02-20T00:35:23","slug":"helloworld-information-cards-part-iii","status":"publish","type":"post","link":"https:\/\/www.identityblog.com\/?p=689","title":{"rendered":"HelloWorld Information Cards Part III"},"content":{"rendered":"<p><em>To understand this discussion, <\/em><a href=\"\/?p=684\"><em>start here<\/em><\/a><em> and then follow the <strong>continuation<\/strong> links until you return to this posting. Click on the images below to see a larger and more readable version.<\/em><\/p>\n<p>In the demo, as shown in the following screen shot,&nbsp;only the HelloWorld card&nbsp;is illuminated &#8211;&nbsp;all the other cards were&nbsp;&#8220;greyed out&#8221;&nbsp;as inappropriate:<\/p>\n<p><a href=\"\/wp-content\/images\/2007\/02\/helloworld\/helloworld-card.jpg\" class=\"broken_link\"><img src=\"\/wp-content\/images\/2007\/02\/helloworld\/helloworld-card-thumb.jpg\" \/><\/a><\/p>\n<p>This happened because&nbsp;in the&nbsp;Information Card login page,&nbsp;&nbsp;the &#8220;relying party&#8221; expressed&nbsp;a requirement that a HelloWorld card be presented.&nbsp; This was done by embedding &#8220;policy&#8221; in the &#8220;object tag&#8221; that tells the browser (and through it, CardSpace) what Information Cards will be accepted.&nbsp; To drill into this, let&#39;s&nbsp;look again at&nbsp;the login page:<\/p>\n<p><a href=\"\/wp-content\/images\/2007\/02\/helloworld\/helloworld-login.jpg\" class=\"broken_link\"><img src=\"\/wp-content\/images\/2007\/02\/helloworld\/helloworld-login-thumb.jpg\" \/><\/a><\/p>\n<p>Here&#39;s the HTML that created it:<\/p>\n<p><img src=\"\/wp-content\/images\/2007\/02\/helloworld\/helloworld-object-tag.jpg\" \/><\/p>\n<p>You&#39;ll see that one of the PARAMs in the OBJECT tag is &#8220;tokenType&#8221;.&nbsp; It&#39;s set to&nbsp;a completely arbitrary value &#8211; one I made up to show you can do whatever you want&nbsp;&#8211; of <a href=\"http:\/\/kcameron11\/identity\/helloworldToken\" class=\"broken_link\">http:\/\/kcameron11\/identity\/helloworldToken<\/a>,&nbsp; Since I specified this specific token type, only Information Cards that support it will <em>illuminate<\/em> at selection time when you go to this web page.&nbsp; Further, the other PARAM specifies &#8220;requiredClaims&#8221;.&nbsp; Only Information Cards that support these values will be possible candidates.<\/p>\n<p>The <a href=\"\/wp-content\/resources\/profile\/InfoCard-Profile-v1-Web-Integration.pdf\" class=\"broken_link\">InfoCard Web App and Browser Guide<\/a> has more information about the OBJECT tag.<\/p>\n<p>In the next installment, I&#39;ll explain how the&nbsp;Identity Provider works, and you&#39;ll be able to examine the code.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A continuing exploration of Information Card technology as a flexible conduit for payloads of any kind. <\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,8,7,22,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts\/689"}],"collection":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=689"}],"version-history":[{"count":0,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=\/wp\/v2\/posts\/689\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.identityblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}