This commit is contained in:
Yarmo Mackenbach 2020-12-11 10:59:27 +01:00
parent 6f6f20d131
commit 69df55d014
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ Basic example:
```javascript
const verifyIdentity = async (url, fp) => {
console.log(await doip.verify(url, fp))
console.log(await doip.claims.verify(url, fp))
}
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
```
@ -13,7 +13,7 @@ This snippet works en will verify the [doip.rocks](https://doip.rocks) domain as
linked to Yarmo's cryptographic key using the [dns](serviceproviders/dns.md)
service provider.
Please note you need to include the
Please note you need to include the
[openpgpjs](https://github.com/openpgpjs/openpgpjs) library:
```html

View file

@ -6,7 +6,7 @@ Basic example:
const doip = require('doip')
const verifyIdentity = async (url, fp) => {
console.log(await doip.verify(url, fp))
console.log(await doip.claims.verify(url, fp))
}
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
```