Skip to content

Instantly share code, notes, and snippets.

@dlongley
Last active August 29, 2015 13:56
Show Gist options
  • Save dlongley/8827309 to your computer and use it in GitHub Desktop.
Save dlongley/8827309 to your computer and use it in GitHub Desktop.
Web Identity Assertion Format
{
"id": "http://example.com/identity/dave.longley"
"assertion": [{
"id": "http://example.net/assertions/bar",
"type": "Passport",
"endorsement": {
"id": "http://example.com/identity/dave.longley",
"name": "Dave Longley",
"governmentId": "38940954909823"
},
"expires": "01/01/2018",
"signature": {...}
}]
}
@dlongley
Copy link
Author

dlongley commented Feb 5, 2014

When merged via JSON-LD flatten the identity becomes:

{
  "id": "http://example.com/identity/dave.longley"
  "assertion": ["http://example.net/assertions/bar"],
  "name": "Dave Longley",
  "governmentId": "38940954909823"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment