Code Monkey home page Code Monkey logo

contract-exchange-extension's People

Contributors

sakimura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hdknr isabella232

contract-exchange-extension's Issues

Create an XDI etc. example?

Perhaps Drummond et al. may want to create an XDI example for the contract document.

The same applies to JSON.

Should we try one?

Disclosure should be always public ?

In the case of payment:

  1. End User buys somehting at RP
  2. RP proposes CX contract to OP
  3. End User visits OP with the artifact of the contract.
  4. End User authenticates and browses the detail of the contract before he/she pays.

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.

Semantics of 3.2.x needs to be written

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.

Template should be /Contract/Service/Template

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.

"Type" in the discovery seems ambiguous.

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.
  • attribute exchange => contract exchange
  • Number sign seems unnecessary

Verification a template

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.

  • Realm for CX Service URI. If the URI is of OP, there seems to be no problem for the OP to accept the proposal.
  • Digital signature to the template. We must provide some structured format including digital signature like CX Contract XML.
  • OP can use CX service whitelist /blacklist for accepting a proposal. But this is a development matter and should not be a protocol part.

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

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 ?

for and on behalf of the End User

Described in a message submitted to SPEC-CX.

  • another party type of /Contract/Party/Rel
  • "proxy signature" like information holding End User's identifier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.