-
Notifications
You must be signed in to change notification settings - Fork 17
xdi2 client
Markus Sabadello edited this page Feb 6, 2017
·
33 revisions
An XDI client that can send messages to an XDI endpoint, including discovery [.jar]
- Sending XDI messages to an XDI endpoint
- XDI discovery
- Discovering cloud names
- Authenticating to an XDI endpoint
- Retrieving a private key from an XDI endpoint
- Applying XDI messages to a local XDI graph
- XDI routing
<dependency>
<groupId>xdi2</groupId>
<artifactId>xdi2-client</artifactId>
<version>${xdi2-version}</version>
<scope>compile</scope>
</dependency>
XDIAgent xdi = new XDIBasicAgent();
ContextNode context = xdi.get(XDIAddress.create("=markus<#email>&"), null);
System.out.println(context.getLiteral().getLiteralDataString());
For examples, see the following Github repository:
This work is licensed under a Creative Commons Attribution 4.0 International License.