Skip to content

Commit

Permalink
feat: introduce holder capabilities (#113)
Browse files Browse the repository at this point in the history
* 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

* style: use consistent nameing for `View` variables

* style: sort dependencies

* fix: fix typo's

* refactor: rephrase comment

* fix: add `warn` log message instead of returning Error
  • Loading branch information
nanderstabel authored Sep 20, 2024
1 parent 1823810 commit 837870c
Show file tree
Hide file tree
Showing 82 changed files with 2,612 additions and 614 deletions.
111 changes: 80 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"agent_api_rest",
"agent_application",
"agent_event_publisher_http",
"agent_holder",
"agent_issuance",
"agent_secret_manager",
"agent_shared",
Expand All @@ -18,11 +19,11 @@ rust-version = "1.76.0"

[workspace.dependencies]
did_manager = { git = "https://[email protected]/impierce/did-manager.git", tag = "v1.0.0-beta.2" }
siopv2 = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" }
oid4vci = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" }
oid4vc-core = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" }
oid4vc-manager = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" }
oid4vp = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" }
siopv2 = { git = "https://[email protected]/impierce/openid4vc.git", rev = "23facd4" }
oid4vci = { git = "https://[email protected]/impierce/openid4vc.git", rev = "23facd4" }
oid4vc-core = { git = "https://[email protected]/impierce/openid4vc.git", rev = "23facd4" }
oid4vc-manager = { git = "https://[email protected]/impierce/openid4vc.git", rev = "23facd4" }
oid4vp = { git = "https://[email protected]/impierce/openid4vc.git", rev = "23facd4" }

async-trait = "0.1"
axum = { version = "0.7", features = ["tracing"] }
Expand All @@ -39,13 +40,17 @@ identity_iota = { version = "1.3" }
identity_verification = { version = "1.3", default-features = false }
jsonwebtoken = "9.3"
lazy_static = "1.4"
rstest = "0.19"
mime = { version = "0.3" }
once_cell = { version = "1.19" }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
rstest = "0.22"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0" }
serde_with = "3.7"
serde_yaml = "0.9"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4" }
tower-http = { version = "0.5", features = ["cors", "trace"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
Expand Down
Loading

0 comments on commit 837870c

Please sign in to comment.