1 |
openid登录时服务器端的一次交互:<br /><br />associate的请求:<br />http://www.openid.org.cn/server<br />openid.mode=associate&<span class="entity">openid.assoc_type</span>=HMAC-SHA1&<span class="entity">openid.session_type</span>=DH-SHA1&<span class="entity">openid.dh_consumer_public</span>=AId%2B4Fs4nmYYriwT5u9OT5v0HEcb%2BWlhbcM52EBKGrjZJ6IiVIIfHfZ8PIyYwTZ5SxiR5QIMePxviPUhPLKKW09k50GIW%2B%2FL7y31Y8zqy%2Fxo5KhMoAvWlmURRTefjm%2Bkk901DFfYRRCXq0u%2BWI6AyOXsMmXWMIIrHCOOZ3bV1vME<br /><br />associate的响应:<br />object(Services_Yadis_HTTPResponse)#16 (4) {<br /> ["final_url"]=><br /> string(31) "http://www.openid.org.cn/server"<br /> ["status"]=><br /> int(200)<br /> ["headers"]=><br /> array(0) {<br /> }<br /> ["body"]=><br /> string(319) "session_type:DH-SHA1<br />assoc_type:HMAC-SHA1<br />assoc_handle:1260441702213-29<br />expires_in:1800<br />dh_server_public:XpWD1s2eZ//kKaRYShFojQJ/hrEapv0RyaMMmr+d32tnluyyKX8PdNBVv1pBPAEMF0J1SB4mvjh2nljUoxeH8mPKvVEGcsxCxRKwtQ+xnVvGq6H2CpEsrVTIUaKv9P5c6T448gBm9EFbwJEjwMLmcFrAepz020Gao8EYL5Mc1Kw=<br />enc_mac_key:Br/BDP3EWxp+w806Naq7Jbt4y6U=<br />"<br />}<br /> |