WIP Add docs

This commit is contained in:
Yarmo Mackenbach 2020-11-05 23:28:56 +01:00
parent 3d8aa73456
commit 93cab2c126
7 changed files with 35 additions and 5 deletions

View file

@ -3,15 +3,15 @@
- [Configuration](configuration.md)
- Reference
- API
- [API](api.md)
- [Service provider data object](serviceproviderdataobject.md)
- Concepts
- [DOIP](doip.md)
- [Cryptographic keys](#)
- [Proofs](#)
- [Claims](#)
- [Service providers](#)
- [Cryptographic keys](cryptographickeys.md)
- [Proofs](proofs.md)
- [Claims](claims.nd)
- [Service providers](serviceproviders,md)
- Service providers
- [Liberapay](serviceproviders/liberapay.md)

25
docs/api.md Normal file
View file

@ -0,0 +1,25 @@
# API
## verify
*(async)* doip.verify(uri, [fingerprint], [opts])
Verifies the identity behind the provided **uri** using the **fingerprint**.
**Parameters**
| Name | Mandatory | Type | Description |
|-------------|-----------|--------|----------------------------------|
| uri | true | string | the URI to an identity to verify |
| fingerprint | false | string | the fingerprint of the claim |
| opts | false | object | options (see below) |
**Options**
| Name | Default | Type | Description |
|-------------|-----------|--------|----------------------------------|
| uri | true | string | the URI to an identity to verify |
| fingerprint | false | string | the fingerprint of the claim |
| opts | false | object | options |
**Returns**

1
docs/claims.md Normal file
View file

@ -0,0 +1 @@
# Claims

1
docs/configuration.md Normal file
View file

@ -0,0 +1 @@
# Configuration

View file

@ -0,0 +1 @@
# Cryptographic keys

1
docs/proofs.md Normal file
View file

@ -0,0 +1 @@
# Proofs

1
docs/serviceproviders.md Normal file
View file

@ -0,0 +1 @@
# Service providers