Skip to content
Snippets Groups Projects
Commit 8fd0e7a4 authored by Alexey Lunin's avatar Alexey Lunin
Browse files

Allow proof/decline request

parent 509fb0cf
No related branches found
Tags v1.0.7-rc v1.0.7-rc1 v1.0.7-rc2 v1.0.7-rc3
No related merge requests found
Pipeline #21105 failed
PORT=3009
AFJ_EXT_PORT=3010
DATABASE_URL=
NATS_URL=nats://localhost:4222
ECSURL=http://localhost:9200/
AGENT_HOST=https://gaiax.vereign.com
......@@ -16,4 +15,4 @@ AGENT_WALLET_KEY=ssi-wallet-key
AGENT_WALLET_ID=ssi-wallet-id
AGENT_LEDGER_ID=ID_UNION,BCOVRIN_TEST
AGENT_ID_UNION_KEY=example-example-example-example
\ No newline at end of file
AGENT_ID_UNION_KEY=example-example-example-example
......@@ -24,18 +24,18 @@ export class DidCommController {
* A backup endpoint that dynamically interfaces with the agent, in case the extension
* lags behind the AFJ or malfunctions
*
* expected body
* body: {
* subMethod: {
* name: 'asdas.asdasd',
* subMethodData: [
* 'argument1',
* 'argument2'
* expected body:
* {
* "subMethod": {
* "name": "asdas.asdasd",
* "subMethodData": [
* "argument1",
* "argument2"
* ]
* },
* data: [
* 'argumentN',
* 'argumentN+1'
* "data": [
* "argumentN",
* "argumentN+1"
* ]
* }
* @param params -one of the allowed properties/method to be called on the agent
......
......@@ -8,7 +8,7 @@ export interface CheckType {
export interface GenericParams {
property: // | 'connections'
// | 'proofs'
// 'proofs'
// | 'basicMessages'
// | 'ledger'
// | 'credentials'
......@@ -37,59 +37,60 @@ export interface GenericParams {
// | 'requestProof'
// | 'createOutOfBandRequest'
// | 'acceptRequest'
// | 'declineRequest'
// | 'acceptPresentation'
// | 'getRequestedCredentialsForProofRequest'
// | 'autoSelectCredentialsForProofRequest'
// | 'sendProblemReport'
// | 'sendMessage'
// | 'findAllByQuery'
// | 'registerPublicDid'
// | 'getPublicDid'
// | 'registerSchema'
// | 'getSchema'
// | 'registerCredentialDefinition'
// | 'getCredentialDefinition'
// | 'proposeCredential'
// | 'acceptProposal'
// | 'negotiateProposal'
// | 'offerCredential'
// | 'createOutOfBandOffer'
// | 'acceptOffer'
// | 'declineOffer'
// | 'negotiateOffer'
// | 'acceptCredential'
// | 'initiateMessagePickup'
// | 'pickupMessages'
// | 'setDefaultMediator'
// | 'notifyKeylistUpdate'
// | 'findDefaultMediatorConnection'
// | 'discoverMediation'
// | 'requestMediation'
// | 'findByConnectionId'
// | 'getMediators'
// | 'findDefaultMediator'
// | 'requestAndAwaitGrant'
// | 'provision'
// | 'queueMessage'
// | 'grantRequestedMediation'
// | 'queryFeatures'
// | 'initialize'
// | 'create'
// | 'open'
// | 'close'
// | 'delete'
// | 'initPublicDid'
// | 'createDid'
// | 'pack'
// | 'unpack'
'sign' | 'verify';
| 'declineRequest'
// | 'acceptPresentation'
// | 'getRequestedCredentialsForProofRequest'
// | 'autoSelectCredentialsForProofRequest'
// | 'sendProblemReport'
// | 'sendMessage'
// | 'findAllByQuery'
// | 'registerPublicDid'
// | 'getPublicDid'
// | 'registerSchema'
// | 'getSchema'
// | 'registerCredentialDefinition'
// | 'getCredentialDefinition'
// | 'proposeCredential'
// | 'acceptProposal'
// | 'negotiateProposal'
// | 'offerCredential'
// | 'createOutOfBandOffer'
// | 'acceptOffer'
// | 'declineOffer'
// | 'negotiateOffer'
// | 'acceptCredential'
// | 'initiateMessagePickup'
// | 'pickupMessages'
// | 'setDefaultMediator'
// | 'notifyKeylistUpdate'
// | 'findDefaultMediatorConnection'
// | 'discoverMediation'
// | 'requestMediation'
// | 'findByConnectionId'
// | 'getMediators'
// | 'findDefaultMediator'
// | 'requestAndAwaitGrant'
// | 'provision'
// | 'queueMessage'
// | 'grantRequestedMediation'
// | 'queryFeatures'
// | 'initialize'
// | 'create'
// | 'open'
// | 'close'
// | 'delete'
// | 'initPublicDid'
// | 'createDid'
// | 'pack'
// | 'unpack'
| 'sign'
| 'verify';
// | 'generateNonce';
}
export const propertiesList = [
// 'connections',
// 'proofs',
'proofs',
// 'basicMessages',
// 'ledger',
// 'credentials',
......@@ -120,7 +121,7 @@ export const methodsList = [
// 'requestProof',
// 'createOutOfBandRequest',
// 'acceptRequest',
// 'declineRequest',
'declineRequest',
// 'acceptPresentation',
// 'getRequestedCredentialsForProofRequest',
// 'autoSelectCredentialsForProofRequest',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment