Consent Manager is a part of Konnet Stack which handles the entire consent lifecycle. It is responsible for blocking data request transactions and provides authorization based on data owner's consent.
- Authentication - Verifies the authenticity of a data consumer
- Consent artifact - A consent artifact is a machine-readable electronic document that specifies the parameters and scope of data that a user consents to in any data-sharing transaction. In this framework, consent must be digitally signed, either by the user or by the consent collector or both
- Authorization (GateKeeper) - Verifies if the Query requested has the required permisions from the data owner (farmer) (checks if query is a subset of Consent Artifact)
- Query Resolver - Verifies Queries and gets data from external sources/ or state databases
- Consent Manager - Creates and Manages the lifecycle of a Consent Artifact. From request, ,generation, and revoke/expiry
- UI for Consent Manager
- UI for User
This repo follows Nest.js Mono-Repo architecture. To get the application up and running just run docker-compose up -d --build
at the root directory. This would create all the required containers.
You can start each of the applications individually by running the command yarn
followed by yarn start <app-name>
.
For example to start authentication service you'd need to execute yarn start authentication
at the root directory.