openid / Contract-Exchange-Extension

The (draft) OpenID Contract Exchange Extension specification.
6 stars 3 forks source link

Intention of "AX Reqeust" stated at "Appendix A" #11

Closed hdknr closed 13 years ago

hdknr commented 14 years ago

I'm not quite sure what "AX Request" means.

AX Request

* description: Used to convey the data that the requester requests.
* type URL: http://opneid.net/srv/cx/1.0#axreq
* value: Attribute Exchange 1.1 string in tag=value&tag=value format as in X1.1
* Conformance: MUST support.

I think that because a RP has already known the contract to be completed is about for a "attribute exchange" thing, a CX Proposal for AX fetch request looks like this :

<Party>
    <URL>http://yoursocial.com</URL>
    <Rel>http://openid.net/srv/cx/1.0/#proposer</Rel>
    <obligations>
    <!-- querying OpenID AX fetch parameter -->
        <param type="http://axschema.org/namePerson/first" id="first_name"></param>
        <param type="http://axschema.org/namePerson/last"  id="last_name"></param>
        <param type="http://axschema.org/contact/email" id="email"></param>
    </obligations>
</Party>

And the OP will return the CX Contract including value for each claimed paramters in obligation/param elements.

Am I missing anything important ?