Skip to content
This repository was archived by the owner on Sep 22, 2023. It is now read-only.

Commit 082c274

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/url-parse-1.5.10
2 parents 728cef5 + 5f7c4f1 commit 082c274

File tree

10 files changed

+265
-118
lines changed

10 files changed

+265
-118
lines changed

docs/admin-connections/0.1/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Connections Admin Protocol
1313
- [delete](#delete)
1414
- [deleted](#deleted)
1515
- [receive-invitation](#receive-invitation)
16+
- [receive-oob-invitation](#receive-oob-invitation)
1617
- [connected](#connected)
1718

1819
## Message Definitions
@@ -168,6 +169,21 @@ invitation.
168169

169170
--------------------------------------------------------------------------------
170171

172+
### Receive OOB Invitation
173+
174+
Create a new connection by receiving an out-of-band invitation.
175+
176+
```jsonc
177+
{
178+
"@type": "https://github.com/hyperledger/aries-toolbox/tree/master/docs/admin-connections/0.1/receive-oob-invitation",
179+
"invitation": "https://example.com?oob=..."
180+
"auto_accept": true,
181+
"mediation_id": "cbf76a1c-aba9-4675-af64-a65ef116f359"
182+
}
183+
```
184+
185+
--------------------------------------------------------------------------------
186+
171187
### Connected
172188

173189
Notification of connection completed.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See [receive-oob-invitation](/docs/admin-connections/0.1/README.md#receive-oob-invitation).

docs/admin-holder/0.1/README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ Define messages for credential holder admin protocols.
1313
- [credential-offer-received](#credential-offer-received)
1414
- [credential-request-sent](#credential-request-sent)
1515
- [credential-received](#credential-received)
16+
- [credential-delete](#credential-delete)
1617
- [send-credential-proposal](#send-credential-proposal)
1718
- [credential-exchange](#credential-exchange)
1819
- [presentations-get-list](#presentations-get-list)
1920
- [presentations-list](#presentations-list)
2021
- [presentation-request-approve](#presentation-request-approve)
22+
- [presentation-request-reject](#presentation-request-reject)
2123
- [presentation-get-matching-credentials](#presentation-get-matching-credentials)
2224
- [presentation-matching-credentials](#presentation-matching-credentials)
2325
- [send-presentation-proposal](#send-presentation-proposal)
@@ -398,6 +400,25 @@ Example:
398400

399401
`revocation_id` (String; Optional): Credential identifier within revocation registry
400402

403+
### credential-delete
404+
405+
Delete existing credential exchange.
406+
407+
Example:
408+
409+
```json
410+
{
411+
"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/admin-holder/0.1/credential-delete",
412+
"credential_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
413+
}
414+
```
415+
416+
#### Fields
417+
418+
`@type` (String): Message type
419+
420+
`credential_exchange_id` (String; Optional): Credential exchange identifier
421+
401422
### send-credential-proposal
402423

403424
Send Credential Proposal Message.
@@ -645,6 +666,31 @@ Example:
645666

646667
`comment` (String; Optional): Optional comment.
647668

669+
### presentation-request-reject
670+
671+
Reject presentation request.
672+
673+
Example:
674+
675+
```json
676+
{
677+
"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/admin-holder/0.1/presentation-request-reject",
678+
"@id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
679+
"presentation_exchange_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
680+
"message_description": "Description of problem",
681+
}
682+
```
683+
684+
#### Fields
685+
686+
`@type` (String): Message type
687+
688+
`@id` (String; Optional): Message identifier
689+
690+
`presentation_exchange_id` (String): Presentation to reject.
691+
692+
`message_description` (String; Optional): Description of cause of rejection.
693+
648694
### presentation-get-matching-credentials
649695

650696
Retrieve matching credentials for a presentation request.

0 commit comments

Comments
 (0)