Question

I'm trying to implement an Openid server and the problem is: Exchange special data types.

As i understood on openid you can only exchange ns and ax data schemas for other types of data you should implement a new schema and a new extension for the library to support the new schema. Is this right ? And what should be the easiest to add this special data ?

tks for ur time

Était-ce utile?

La solution

AX can support both strings and lists of strings out of the box. This works well for most bits, like numbers, names, and the like. Since AX uses URLs as its keys, you can define your own semantics to the value, as long as it can fit into a URLencoded string. Thus, if you need more structure in your response, you can always serialize your values as JSON objects and pack them into the AX values. Keep in mind that this will explode the size of your requests fairly quickly and you could run into 413 errors before you know it.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top