Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for Linked Verifiable Presentations (#92)
* WIP * feat init agetn_holder * feat: add `HolderState` * feat: add Holder functionality to `agent_store` and `agent_api_rest` * feat: add Holder functionality to Event Publisher * feat: add `SendCredentialOffer` to `agent_verification` * feat: add `/offers/send` issuance endpoint to `agent_api_rest` * fix: remove incorrect Content Type * feat: add `Status` enum * feat: add REST API for Holder * feat: add `AllOffersView` * feat: add Holder views to `init.sql` * fix: fix `OfferView` update * feat: add credentials endpoint for Holder * refactor: refactor Router * test: refactor test framework * refactor: deprecate `path` closure * refactor: remove unused dependencies * style: add clippy exception * build: bump oid4vc dependencies * refactor: move all `CustomQuery` logic to `agent_shared` * fix: add Into<SubjectSyntaxType> for SupportedDidMethod * fix: return 200 OK when list is empty * refactor: clean up code * fix: Fix error handling for the Offer aggregate * fix: add error handling for to Offer aggregate * refactor: apply clippy suggestion * test: update Postman Collection * feat: add Events to `config.rs` * docs: add new Holder events to `agent_event_publisher_http` documentation * feat: init `agent_identity` * style: use consistent nameing for `View` variables * style: rename variables * refactor: use `type` for `View`s to reduce code duplication * refactor: use `Jwt` instead of `Value` * feat: add error handling * fix: remove `presentation_id` from route * refactor: add error handling and comments * refactor: remove unused dependencies * build: remove unused dependencies * feat: add `UnsupportedCredentialFormatError` error * test: update Postman Collection * feat: update `init.sql` file * feat: add tests and error handling * feat: add error handling * test: add unit tests for `Service`, `Presentation` and received `Offer` * feat: add `GET` method for `/v0/services` endpoint * test: update Postman collection * docs: add document, service and presentation events * fix: remove unused import * ci: add DS_Store to .gitignore file * feat: add Document and Service to config.rs * fix: update .env.example variables * feat: make `/accept` endpoint respond with the Offer * feat: change `openid4vci/offers` from GET to POST * test: add `services/:service_id` endpoints to Postman collection * fix: change method from `get` to `post` * feat: add public `/linked-verifiable-presentations` endpoint * feat: add `offers_params` endpoint handler * style: make requests human-readable * test: update path of linked VP in test * fix: update `did_configuration` comment * fix: use ACME Corp * fix: improve error message * fix: add comment * fix: remove `/openid4vci/offers` endpoint * docs: add aggregate fields * fix: clarify commented env variables
- Loading branch information