23.0.0 • Published 6 months ago

@bedrock/vc-verifier v23.0.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

Bedrock VC Verifier API module (@bedrock/vc-verifier)

Build Status NPM Version

A VC Verifier API library for use with Bedrock applications.

Table of Contents

Background

Security

TBD

Install

  • Node.js 18+ is required.

NPM

To install via NPM:

npm install --save @bedrock/vc-verifier

Development

To install locally (for development):

git clone https://github.com/digitalbazaar/bedrock-vc-verifier.git
cd bedrock-vc-verifier
npm install

Usage

In lib/index.js:

import '@bedrock/vc-verifier';

Verifier HTTP API

This module exposes the following API endpoints.

Verify Presentation - POST /vc/verify

Example request:

{
  "presentation": {},
  "challenge": "...",
  "domain": "issuer.example.com"
}

Verify Credentials - POST /verifier/credentials

Alias: /instances/:instanceId/credentials/verify

Optionally performs status checks using the @digitalbazaar/vc-revocation-list or @digitalbazaar/vc-status-list library.

Example request:

{
  "verifiableCredential": {},
  "options": {
    "checks": ["proof", "credentialStatus"]
  }
}

Verify Presentations - POST /verifier/presentations

Alias: /instances/:instanceId/presentations/verify

Optionally performs status checks using the vc-revocation-list or vc-status-list library.

Example request:

{
  "verifiablePresentation": {},
  "options": {
    "challenge": "...",
    "checks": ["proof", "credentialStatus"],
    "domain": "issuer.exmaple.com"
  }
}

Contribute

See the contribute file!

PRs accepted.

If editing the Readme, please conform to the standard-readme specification.

Commercial Support

Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com

License

Bedrock Non-Commercial License v1.0 © Digital Bazaar

23.0.0

6 months ago

22.3.0

6 months ago

22.2.1

7 months ago

22.1.2

7 months ago

22.2.0

7 months ago

22.1.1

7 months ago

22.1.0

7 months ago

22.0.0

8 months ago

21.2.0

12 months ago

21.1.0

12 months ago

21.2.2

8 months ago

21.2.1

8 months ago

21.2.3

8 months ago

21.0.2

1 year ago

21.0.3

1 year ago

21.0.1

1 year ago

21.0.0

1 year ago

20.1.0

1 year ago

20.0.0

1 year ago

20.1.2

1 year ago

20.1.1

1 year ago

19.1.0

2 years ago

19.0.0

2 years ago

17.0.0

2 years ago

18.1.0

2 years ago

18.0.0

2 years ago

16.0.1

3 years ago

16.0.0

3 years ago

15.0.0

3 years ago

14.0.0

3 years ago

14.1.0

3 years ago

13.0.0

3 years ago

13.0.1

3 years ago

12.3.0

3 years ago

12.2.0

3 years ago

12.0.0

3 years ago

12.1.0

3 years ago

11.0.0

3 years ago

8.0.0

4 years ago

9.0.0

4 years ago

10.0.0

3 years ago

7.0.0

4 years ago

6.0.0

4 years ago