W3C home > Mailing lists > Public > public-credentials@w3.org > July 2015

Browser-based Credential API

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 02 Jul 2015 17:13:08 -0400
Message-ID: <5595A964.3000309@digitalbazaar.com>
To: Credentials Community Group <public-credentials@w3.org>
Hi all,

We were able to finally get around to documenting the browser-based
Credentials API.

The Credentials API enables a Web developer to create new DIDs for an
entity, store credentials, and request credentials. The basic API is
outlined below, separated by different actors in the system:

Credential issuer API:

* navigator.credentials.store(identity, options)

Credential consumer API:

* navigator.credentials.request(query, options)

Identity provider APIs:

* navigator.credentials.registerDid(options)
* navigator.credentials.transmit(identity, options)

The complete docs go into much more detail about the data sent and
received from each API call above:

https://github.com/digitalbazaar/credentials-polyfill#identity-credentials-api

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
https://manu.sporny.org/2015/payments-collaboration/
Received on Thursday, 2 July 2015 21:13:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 July 2018 21:19:24 UTC