openid / contract-exchange-extension Goto Github PK
View Code? Open in Web Editor NEWThe (draft) OpenID Contract Exchange Extension specification.
The (draft) OpenID Contract Exchange Extension specification.
JSON vars cannot have new lines in the values.
Perhaps base64url encoded DER instead of PEM for certs?
Put an XML example in the Appendix.
Perhaps one for the Proposal and one for the returned contract.
Perhaps Drummond et al. may want to create an XDI example for the contract document.
The same applies to JSON.
Should we try one?
Posted ML as http://bit.ly/9OSzNQ
Submitted as http://lists.openid.net/pipermail/openid-specs-cx/2010-April/000076.html
As David García write in http://bit.ly/cPS93H, the key usage extension should be checked for X.509 certifcate.
There could be more items for certificate verification and may be noted somewhere in the spec.
In the case of payment:
If the contract binds all there party, the consideration between RP and OP SHOULD be shown to the End User. For example, because 7 $ ,7% commission of total amount of 100$ payment from the End User to RP thought OP MUST be dedicated by OP, RP will be paid 93$ by OP.
Is it right ? For usual credit card payment in Internet, we usually don't know about commission between the net shop and the payment agency.
This seems to be important to define of the OP and CX Template for the contract.
I clicked the wrong button...
In the examples such as the one in 3.2.4, a variable "identifier" appears, but it is not defined. Perhaps "identity"?
For example, 3.2.2. Request just states the data format and variables without stating what it is for. Unless it states what it is for, it would be very difficult to understand.
Right now, it is stated as
http://example.com/template.txt#sha256:template_hash
but is it not better to be like
Add Cardinality to the elements and attributes of XML.
If the CX Service URI must be CX Template URI, /Contract/Service/Type and /Contract/TemplateURI are verbose.
We can drop /Contract/TemplateURI and mote /Contract/Template to /Contract/Service/Template.
The attribute exchange namespace “http://openid.net/srv/cx/1.0/#” MUST be listed as /xrds/xrd/Service/Type element in the XRDS discovery document or /xrd/Link/rel element in the XRD 1.0 discovery document.
Create XML Schema for CX XML Binding.
Described in a message submitted to SPEC-CX.
( http://lists.openid.net/pipermail/openid-specs-cx/2010-April/000079.html )
SHA-256 digest is not for the ownership for the template.
Scott's document had one. We are missing it now.
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 ?
Described in a message submitted to SPEC-CX.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.